Welcome to BARMAGY Sign in | Join | Help

How to hide ribbon row when enabling anonymous access in SharePoint 2010

When you enable anonymous access to your site the ribbon row will appear for anonymous users but without "site actions" menu and it will be "Login" link but if you need to hide all this row you have to do the following 1- Open your masterpage with SharePoint designer 2- Find the ribbon row Search on "ribbonrow" 3- before the div that holds the ribbon add this tag

<sharepoint:spsecuritytrimmedcontrol id="SPSecurityTrimmedControl2" runat="server" permissionsstring="ManageSubwebs">

4- after the end of the ribbon div close the security tag

</sharepoint:spsecuritytrimmedcontrol>

5- Enjoy
Published Tuesday, February 16, 2010 12:25 AM by shadiesm

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: How to hide ribbon row when enabling anonymous access in SharePoint 2010

Saturday, April 09, 2011 7:32 PM by Elora
2dszd3 Home run! Great slugging with that answer!

# BBC Football

Thursday, June 09, 2011 6:28 PM by football
Hello Everyone! I like watching BBC Football online.

# re: How to hide ribbon row when enabling anonymous access in SharePoint 2010

Saturday, July 09, 2011 10:50 PM by Loran
I was looking eevyrhewre and this popped up like nothing!

# re: How to hide ribbon row when enabling anonymous access in SharePoint 2010

Sunday, July 10, 2011 9:08 PM by Zabrina
Super jazzed about gtetnig that know-how.

What do you think?

(required) 
required 
(required)