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

On the root web for my site collection I need to make sure a web scope feature is turned on. In the feature EventReceiver I can turn on the feature progamtically. How can I stop the user turning the web feature off?

If the dependent feature was site scope I could add it to the featue manifest but I dont seem able to add a web scope feature there.

share|improve this question
You can make the feature hidden so that the users cannot see it in the UI. – Vardhaman Deshpande Aug 2 '12 at 9:53
up vote 2 down vote accepted

You could make it hidden so they cannot see it in the UI, but that's not really secure.

I suggest putting your end users in a security group that does not have permission to disable features or even see the feature list.

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.