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,

  • 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
    Apr 10, 2016 at 13:28

3 Answers 3


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 :)

  • 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, 2012 at 19:54

you can try this :)


hope it helps you!

  • 2
    Link only answer! Try and get some time to update it.
    – Hugh Wood
    Dec 17, 2012 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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