Sharepoint 2010 Forum

 
Home » Forum » Sharepoint 2010       Ask a questionRSS Feeds

Anonymous user rights "lock down"

  Asked By: Aaditya Agrawal         Date: May 14, 2010      Category: Sharepoint 2010      Views: 1313
 

I have been asked about an issue with a hosted SharePoint Foundation 2010 site.
The owner has created a library to hold scripts to be used in content editor web
parts and stuff like that. Anonymous users need to have access rights to the
library so the scripts are accessible while browsing. However, the owner would
prefer that anonymous users don't have access to the "all items" view etc of the
list.

As I understand it, in MOSS and SP2010 there is a "ViewFormPagesLockDown"
feature that you can activate from the stsadm command line that blocks access to
list view pages of lists where anonymous access is enabled after the feature is
enabled. (This means that you can selectively restrict access by enabling
anonymous access on lists before and after enabling the feature.) The feature is
enabled by default on publishing sites.

However, the site owner has two issues:
* It is a hosted site, so he doesn't have access to run an stsadm command, and
* It is SP foundation only, so the lockdown feature is not available

Are there any alternative approaches to restrict anonymous users from library
views while still allowing them access to the files?

Tagged:          

 

2 Answers Found

 
Answer #1       Answered By: Lynn Mann          Answered On: May 14, 2010       

Just a random thought....

Does the owner have access to the files in the root of the IIS website? If
so, he could add a global.asax that intercepts certain page types and denies
access.

 
Answer #2       Answered By: Alka Sarabhai          Answered On: May 14, 2010       

Do the users actually need to SEE the list's views? Do they need access to
visually see what the scripts are and utilize them, or do they just need to be
able to run them on another page in the site?

 
Didn't find what you were looking for? Find more on Anonymous user rights "lock down" Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].