erik9000
erik9000

Reputation: 43

How do I make a Microsoft Word document “read only” within a SharePoint document library?

How do I make open “read only” the only option within a SharePoint document library?

When using either Word 2003 or 2007 and saving the document as a template or modifying the file properties as “read only” doesn’t prevent modification of the file in a SharePoint document library. Modifying the document library permissions to only allow “read only” access doesn’t work either. What works is to use a SharePoint URL link list to access the files within an external server directory, but that defeats the use of a SharePoint document library.

Upvotes: 2

Views: 9629

Answers (2)

erik9000
erik9000

Reputation: 43

The event handler works, but I have found a simpler workaround.

If you “Check Out” the file and leave it checked out, no one else has the option to edit the file. This is still not ideal, but for forcing a document to be “read only” it works.

Upvotes: 1

Jason Z
Jason Z

Reputation: 13422

I don't know if you can force read only to be the only option, but you can implement your own event handler to override the ItemUpdating event. Just cancel the update and any changes will be discarded.

Sahil shows a very basic event handler that performs the cancel here.

Upvotes: 2

Related Questions