1

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)

1 Answer 1

0

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

2
  • 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
    Commented Mar 8, 2012 at 11:52
  • Hi Wim. No problem. You are correct, certain links are "security trimmed" (It's a buzzword these days).
    – Fox
    Commented Mar 8, 2012 at 15:18

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.