Locking MOSS or WSS

Server or site migrations require that you give yourself ample time for the transition.  The last thing you want is for users to be making changes on the site while you are taking a backup and moving to another location.  There are many ways to avoid this server-side that will interrupt the users viewing experience.  But, there is one way that you can still allow the users to interact with the MOSS or WSS site without allowing them to add/update/delete content.  By using the site lock feature you can switch an entire site collection to read-only mode.

stsadm –o setsitelock –url http://server/site –lock { none | noadditions | readonly | noaccess }

none = sets site to “normal” mode allowing adds/edits/deletes

noadditions = no additional content can be added, current content can be edited as long as it doesn’t add to the total content

readonly = entire site becomes readonly.  No adds/updates/deletes are permitted

noaccess = locks total access from the site.  User will see an error specifying that they contact the administrator for more information

0 comments:

Post a Comment