SharePoint document library allows us to set the password while sharing files. As a result, we can secure our files. In this SharePoint Online tutorial, I will show you step-by-step instructions on how to lock a file in a SharePoint document library by password.
Locking a file or folder is possible, when we share a document library files or folders with external users. Even though we can set a password for SharePoint Online document library files or folders with internal users, it won’t work for internal users.
Also, if anyone wants to unlock a file, only that user can open a file and view it by entering the password.
Table of Contents
To lock a file within a SharePoint document library and share it with users, Follow the below-mentioned steps:
In this section, I will show you how to enable sharing settings to Anyone at a site level through a SharePoint admin center.
By default, external sharing will be enabled for anyone at a SharePoint Tenant level.
a file in SharePoint document library" width="932" height="294" />
This is how to enable external sharing to anyone at a site level in a SharePoint Online document library.
Now, I will show you the next step i.e.: deactivating limited access user permissions lockdown mode in a SharePoint Online site.
When the Limited-access user permission lockdown mode is enabled, permissions for users in “limited access” permissions level (such as Anonymous Users) are reduced, preventing access to Application Pages.
This is how to deactivate the limited-access user permission lockdown mode under site collection administration.
Now, I will explain how to share a file with file locking in a SharePoint Online document library.
a file in SharePoint Online document library" width="517" height="311" />
a file in SharePoint" width="530" height="451" />
This is how to Share a file by locking it in a SharePoint Online document library.
Through this SharePoint tutorial, I have demonstrated how to lock a document library file in a SharePoint site. And also I have shown you the steps to lock a file within a SharePoint document library such as:
Steps:
You may also like:
Preeti Sahu is an expert in Power Apps and has over six years of experience working with SharePoint Online and the Power Platform. She is the co-author of Microsoft Power Platform: A Deep Dive book. As a Power Platform developer, she has worked on developing various tools using Power Apps and Power Automate. She also makes Microsoft 365 videos and shares them on YouTube.