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