How to set sharepoint site to read only?
set sharepoint site to read only is required while doing the Migration from On-premise to online.
The steps are same for all: 2010, 2013 and 2016.
We can achieve this in 3 options as shown below.
Through Central Administration:
- Go to Central Admin > Application Management > Configure quotas and locks.
- Select the site collection which should be read-only and select the “Read-Only” radio button. Click OK.
- Now, browse the site collection and we can see a message on the top saying, “This site is read-only at the farm administrator’s request”.
- when the site is set to read-only,user can only view the document or download a copy of it.
Through Database:
- Select the content database and go to its Properties.
- Click on Options menu from the left-hand side of the window and under the "State" section, set “Database Read-Only” to “True”, as shown in the image below.
- Now, the content database is in read-only mode.