title: How to make documents read-only in document libraries
body: <p>After document approval, i want set it to a final status where newer version of document cannot be uploaded or any modifications made (i don't care if it is downloaded and modified on users PC, but it must stay as is in SharePoint).</p>
  
  <p>I see few options here:</p>
  
  <ul>
  <li>break permission inheritance and set
  all roles to read only.</li>
  <li>EventReceiver on ItemUpdating/ItemDeleting/ItemCheckingIn and cancel event if my approval status is set to approved.</li>
  </ul>
  
  <p>Breaking permissions would seem more acceptable for me, because the eventreceiver solution will provide error after user tries to make action rather than before it tries to do something. Also it would run on each ItemUpdating event, checking if this document is approved. Which is bad.</p>
  
  <p>But maybe there is just a flag for a file i could use like set it as readonly or final? What would be the best solution here. Solutions which would affect only docx format are also welcome for evaluation.</p>