1

We have an application with, 30000 site collections and about 70000 subsites, whenever we deploy a new solution we would like to make the entire web application read only for everyone, except for the uses that validate the solution deployment.

Please note that somes sites and libraries have broken permission inheritance.

Is there any way to do this, maybe with user policy at web application level?

3

You have multiple options to set your web application as a Read-Only like

  • Set Content Database as Read-Only using PowerShell
  • Manage User Permission of Web Application in Central Administration.

enter image description here

Although the above methods will make your web application is accessible as Read-Only but unfortunately, you will not be able to deploy solution via any users even farm account.

The recommended option is

  • But the idea is that some users can still access the site during the validation period. – Luis Valencia Sep 25 '17 at 7:53
  • Unfortunately, you can't without managing the permission for other users! – Mohamed El-Qassas MVP Sep 25 '17 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.