Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.