Make SiteCollection ReadOnly

Some times you need to set your sitecollection(s) as read-only, for example, before backup.

Via Central Admin:

  1. Go to Centeral Admin
  2. Application Management
  3. Site Collection Quotas and Locks
  4. Read-only (blocks additions, updates, and deletions)

Solution 2:
Using SQL Server Database by setting the database as read-only.

  1. Open SQL Server Management Studio
  2. Right click on your site collection database and choose Properties
  3. Click on Options