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

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
up vote 5 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 '14 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.