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

I have 2 versions of the same Sharepoint application, one is a development version and one is the live production version.

I have had a couple of people somehow manage to get onto the dev version by accident.

Is there a way I can:

  1. find any unwanted references to the dev system in the live system content?
  2. automatically redirect all users except developers to the live system?

Thanks in advance.

share|improve this question
  1. I don't believe there is any out of the box way to do this.

  2. You could potentially write a custom control that you put onto the development web application's master page that checks for membership of a certain SPGroup or other logic of your choice and redirect to the production version of the page requested if they aren't part of the group.

share|improve this answer

You should probably consider using User policies under Web Application management (via the Central Administration), provided that you have at least one Group to differentiate the Developers. Set to "No Access" for the Group of Developers forbidding them access to whatever Site Collection is hosted on that Web Application.

For the redirection, they shall fall on the Access Denied page automatically, if that is an important part, you could change that page to include another link (

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.