SharePoint – Difference between Item level Permission and Item level Security

Recently I discovered that in SharePoint there is a difference between Item Level Security and Item Level Permissions.

1. Item level Security

This is the one everyone knows…

You can set user security on each individual doc. in a library or a record in a list.


2. Item Level Permission

For Document libraries you can only modify this using PowerShell (or .NET)

In my opinion this has less performance impact than the Item level Security.

But of course it serves a different purpose too…

So depending on what you need I would definitely consider this option.

Here are the different options :

https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.writesecurity.aspx

SPList.WriteSecurity
•    1 = All users can modify all items.
•    2 = Users can modify only items that they create.
•    4 = Users cannot modify any list item.

https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.readsecurity.aspx

SPList.ReadSecurity
•    1 = All users have Read access to all items.
•    2 = Users have Read access only to items that they create.

Example :

CLS

if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null)
{
	Add-PSSnapin Microsoft.SharePoint.PowerShell;
}

$web = Get-SPWeb -Identity http://YourSP

$list = $web.Lists["Documents"]

"Read Security = " +  $list.ReadSecurity 
"Write Security = " + $list.WriteSecurity


For SharePoint lists you can just use the GUI :

image

Enjoy !

Advertisements

4 Responses to SharePoint – Difference between Item level Permission and Item level Security

  1. George says:

    Hello, good info. Do you know if “Item Level Permission” have any limitations in terms of item count per user?

  2. Hi George, Thanks !

    In SharePoint the limits are hard-coded by MS. And not depending on the security you setup.

    For doc. libr. this is set to 5.000 items incl. files and folders.

    More info you can find here :
    https://docs.microsoft.com/en-us/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits

    But keep in mind that the more unique permissions you define the more the performance will drop !

    • George says:

      I’m referring to SP Server not Online. Trying to understand the difference between Item Level Security and Item Level Permissions. For “Item level Security” we are bound to ACL list and it’s limit of 50 000 unique permissions but for the “Item Level Permissions” setting of a list is there a limit or is it just the view threshold ?

      • There is no difference to the limitations besween the OnPrem or Online version…
        Here you find all limitations per category. It’s not clear but best practices says that anything beyond 5.000 is best to avoid.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: