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 am trying to hide the SharePoint Ribbon Tabs based on a users permissions. I know that I can use the SPSecurityTrimmedControl to do this but I need to wrap it around just the tabs and not the whole ribbon. The reason for this is because I am trying to 'lighten' the page for the user as I believe that there are some javascript associated with using the tabs and we don't want that to be downloaded with the page if a user doesn't use the tabs.

Is there any way to do this?

Thanks and regards,

share|improve this question
There is no JS file associated just with the tabs. If you want to remove some JS files from downloading, then you'll have to change the master page. – Mihail Popa Apr 10 at 13:28

All you need to do is to follow these steps :)

  • Open the master page, find the div tag:
  • Put the following around it:
<Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="ManageWeb">
<div id="s4-ribbonrow" …</div>

or you can follow this Blog, it shows you three ways of doing it but I guess you dont want to use javascript as once I used it and it broke few things

If you want to dig it deep check these links out

Hope this helped you solving your issue :)

share|improve this answer
I want to keep the ribbonrow - I just need to hide the tabs in that row. The user still needs to be able to see the welcome control and there are also some links (Home, Contact, etc) that are placed there that need to be viewed at all times. – hha89 Aug 23 '12 at 19:54

you can try this :)

hope it helps you!

share|improve this answer
Link only answer! Try and get some time to update it. – Hugh Wood Dec 17 '12 at 12:43

You can easily do this using CSOM:

Visit this link it will definitely help you Hiding browse and page tab from SharePoint 2013 for specific users

share|improve this answer

Your Answer


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.