2

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..

1 Answer 1

6

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

1
  • Sounds perfect, thanks.. Let me try, and I will close once done.. Apr 17, 2014 at 12:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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