Remove "View All Site Content" link for anonymous users in Sharepoint Foundation 2010
- Go to "Site Actions" ==> "Site Settings"
- Under Galleries, click on "Master Pages"
- Select default.master and select “Edit in Microsoft Office SharePoint Designer”.
- In “Design” view locate “View All Site Content” on the left-hand-site navigation bar and click on it.
- Go to “Code” view. You will see the following code highlighted:
- Change the PermissionString attribute value of the Sharepoint:SPSecurityTrimmedControl XML element from ViewFormPages to BrowseDirectories.
- Save the default.master. If you login as an anonymous user you will not see the “View All Site Content” link. However when authenticated you will see this option.