In order to prevent users from being able to see all items of a list, we are displaying list via a list view webpart with filter as ColumnName=[Me]. However, users can access the list via the URL and get the default view.

How to prevent users from accessing list defaultview?


There is built in Item Level Permissions settings that allows to specify which items users are allowed to read/create/update

To grant item level permissions, follow these steps:

  • Navigate to the site that contains the list, and open the list or library.
  • Choose the List tab.
  • On the ribbon, select Settings and then select Advanced settings.
  • On the Advanced settings, specify corresponding permission settings.

enter image description here

Refer Edit permissions for a list, library, or individual item for more details


You can set the view that you have configured as the default view, and then delete the allitems.aspx view. That way when people navigate to the list they are taken to the new default view (your view).

It is important to be aware though that this is no substitute for security. Users will stil be able to access individual list items by their unique url, and if users have access to create their own views then people will easily be able to work around this.

If security is critical within this list, you will need to manage permissions to each list item individually, which can get very messy. However, there are alternative code solutions that you could try.

Hope this helps

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.