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

You can use the HideCustomAction element to hide links on the Site Settings Page.
I was wondring how to hide actions which are linked with for example the enabling of the Publishing Features: Under Look and Feel: Master Page, Page Layouts and site templates...
How can you hide them? (Without disabling the Publishing features)

Under Site Collection Administration you also have a lot of links you can not hide? or which are not defined in the 14 hive (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\SiteSettings\SiteSettings.xml)

share|improve this question
up vote 0 down vote accepted

I dont know of a out of the box feature to do it, but i've done something similair int he past. What you'd have to do is as follow:

  1. Create a HTTPModule which intercept all requests. If users are part of a specific group/flag, then redirect them to a modified version of your settings page.

  2. Copy the Settings pages you want to change into a VS Solution , strip out the sections/links not required , save it and deploy to LAYOUTS/MySettingsPages (example)

  3. Have the HTTPModule redirect to LAYOUTS/MySettingsPages/settings.aspx if a user is not part of your "special" security group.

If you want to permanently delete/disable these features/links, then just edit the ASPX files in the LAYOUTS Folder (not recommended).

share|improve this answer
This is a nice workaround. Thanks Fox! Noticed that some links are indeed depending on the permission level the user is logged in as well – Wim Hill Mar 8 '12 at 11:52
Hi Wim. No problem. You are correct, certain links are "security trimmed" (It's a buzzword these days). – Fox Mar 8 '12 at 15:18

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.