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

I have a public facing website and on the homepage there are few contents that I want to show only to Authenticated Users.. Anonymous users should not be able to see it, what Permissions String should I use?

I guess ViewPages and ViewListItems will do? But can someone confirm please..

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You can use set AuthenticationRestrictions="AuthenticatedUsersOnly" Example:

<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AuthenticatedUsersOnly">
....
</SharePoint:SPSecurityTrimmedControl>

Reference: http://sharepoint-community.net/profiles/blogs/hide-elements-in-sharepoint-for-anonymous-users-using

share|improve this answer
    
Sounds perfect, thanks.. Let me try, and I will close once done.. –  Arsalan Adam Khatri Apr 17 at 12:20

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.