

Open Google Drive and right-click any file that you wish to make a read-only file. Google Drive doesn’t have a simple button (yet) for locking files so here’s a little Google Script that can help you make any file in your Google Drive read-only.ġ. When you lock a file, no one (including the owner) can make edits to the file, the file title cannot be changed and also lose the option of commenting inside files. Google Drive now has a new Locking API to help developers easily add content restrictions on documents, spreadsheets, presentations, PDF and any other file in Google Drive. How to Prevent Document Edits in Google Drive You can always remove external collaborators from your documents to prevent them from editing your files but how do you prevent yourself (the owner) from accidentally editing your own files in Google Drive? If you choose to share a file with other people, you can decide whether others have read-only access to your files or if they are allowed to edit and comment on your files.

The files in your Google Drive are private by default and only the owner has initial permissions to view, edit or delete their files. Learn how to freeze a document and prevent anyone from editing your files. Your documents and files in Google Drive can be modified by anyone who has edit access to the file.
