How to Password-Protect a Department Folder in OneDrive for Business
Question details
The user is looking for a way to password-protect a specific department folder within OneDrive for Business to restrict unauthorized access.

- Product
- OneDrive for Business
- Device & OS
- not provided
- Scenario
- Securing sensitive departmental data and ensuring that only authorized users or groups can view and edit the contents of a shared folder.
- Observed behavior
- OneDrive for Business does not natively support password-protecting internal folders; users must rely on permission configurations and sharing link settings to secure files.
Ensure you have owner or administrator privileges for the folder you wish to secure, and verify your organization's external sharing policies with your IT department.
Use Advanced Settings to Restrict Internal Folder Access
Since native folder passwords aren't supported for internal users, stopping permission inheritance and manually assigning access is the most secure method for department folders.
By default, folders created in OneDrive inherit permissions from the parent directory or the main drive. To secure a department folder, you must break this inheritance and specify exactly which colleagues or groups can access it.
Navigate to your OneDrive for Business on the web, locate the department folder you want to secure, and click the three-dot menu (Show actions) next to it.
Select 'Manage access' from the dropdown menu to view all users and groups that currently have permissions to view or edit the folder.
Click on 'Advanced' or 'Advanced settings' at the bottom of the Manage Access panel. In the ribbon menu of the new page, click 'Stop Inheriting Permissions' and confirm the prompt.
Select the checkboxes next to any users or groups that should not have access to the department folder, then click 'Remove User Permissions'.
Click 'Grant Permissions' in the ribbon menu, enter the email addresses or internal groups belonging to the department, choose their permission level (e.g., Read or Edit), and click 'Share'.

Create a Password-Protected Link for External Sharing
If you need to share the department folder securely with external contractors or clients, you can create a password-protected sharing link.
Use a SharePoint Document Library Instead
For permanent department folders, migrating the data to a SharePoint site is considered a best practice over keeping it in an individual's OneDrive.
Encrypt and Edit Your Department Documents with WPS Office
While you manage folder permissions in OneDrive, consider using WPS Office to add an extra layer of security. WPS Office allows you to password-protect individual documents natively. It is a lightweight, cost-effective alternative that works seamlessly with your existing files.
- 1. Install WPS Office: Download and install the free WPS Office suite on your department's computers.
- 2. Open your files: Seamlessly open your existing .docx, .xlsx, and .pptx files downloaded from OneDrive.
- 3. Apply document passwords: Go to Menu > Document Encryption > Encryption to set open and modify passwords for individual files.

Frequently Asked Questions
Why can't I just put a password on an internal OneDrive for Business folder?
Microsoft designed OneDrive for Business to rely on user identity and access permissions (via Azure Active Directory) rather than folder-level passwords. This ensures more robust security, easier auditing, and integrates with your company's broader security compliance policies.
Can I password-protect individual files instead of the entire folder?
Yes. While folder protection relies on account permissions, you can encrypt individual Word, Excel, or PowerPoint documents with a password directly within their respective desktop applications before uploading them to OneDrive.
Why is the 'Set Password' option missing when I try to share externally?
If you cannot select the 'Anyone' link option or do not see the password field, your organization's IT administrator has likely restricted external sharing or disabled anonymous links for security and compliance reasons.
What happens to the department folder if the person who created it leaves the company?
If the folder is stored in an individual's OneDrive for Business, it may be deleted after a retention period when their account is deactivated. This is why it is strongly recommended to move permanent department folders to a SharePoint Document Library, which is not tied to a single user's account.




