SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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