How to Password-Protect OneDrive Folders on a Shared Account
Question details
The user is looking for a way to add a password to specific folders within OneDrive because multiple people share access to a single Microsoft account.
- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to secure sensitive or private folders from other users who have login credentials for the same shared Microsoft account.
- Observed behavior
- OneDrive does not provide a native feature to set individual passwords for folders within a single shared account, allowing anyone logged in to access all files.
Before proceeding, determine if you truly need to share a single Microsoft account. Setting up individual accounts is the Microsoft-recommended best practice for maintaining data privacy and security.
Use Separate Microsoft Accounts and Folder Sharing
The most secure and Microsoft-supported method is for each user to have their own account and selectively share specific folders.
Sharing a single Microsoft account compromises privacy and security. By transitioning to individual accounts, you can maintain control over your own files and use OneDrive's built-in sharing permissions to collaborate only on the folders you choose.
Have each user register for their own free Microsoft account instead of sharing the primary login credentials.
Sign in to the primary OneDrive account where the folder currently resides.
Right-click the folder you want to share with the other users and select 'Share'.
Enter the specific email addresses of the new individual accounts, set the permission level to 'Can view' or 'Can edit', and click 'Send'.
Utilize OneDrive Personal Vault
For securing sensitive files within a single account, OneDrive's Personal Vault provides an extra layer of security requiring identity verification.
Encrypt Folders Locally Before Uploading
If you must share the account, use third-party encryption software to password-protect the folder contents locally before syncing them to OneDrive.
Try WPS Office for Secure Document Management
While OneDrive has limitations on folder passwords, you can secure individual documents easily using WPS Office. WPS Office is a lightweight, highly compatible, and free alternative to Microsoft Office that allows you to locally encrypt your sensitive Word, Excel, and PowerPoint files before uploading them to any cloud storage.
- 1. Open your document: Launch WPS Office and open the document you wish to secure.
- 2. Access encryption settings: Go to the 'Menu' button in the top left corner, select 'Document Encryption', and then choose 'Encryption'.
- 3. Set a password: Enter a strong password for 'Document password' and click 'OK'. Save the file and safely upload it to your shared OneDrive.

Frequently Asked Questions
Can I put a password on a specific folder in OneDrive?
No, OneDrive does not natively support password-protecting individual folders. You must use the Personal Vault feature, create password-protected sharing links (requires a Premium subscription), or use third-party encryption tools to secure the folder locally.
How does OneDrive Personal Vault work?
Personal Vault is a protected area within OneDrive that requires a strong authentication method or a second step of identity verification, such as your fingerprint, face, PIN, or a code sent to you via email or SMS. It keeps your most sensitive files locked even if someone accesses your account.
Can I password-protect a shared link in OneDrive?
Yes, if you have a Microsoft 365 Premium subscription. When you share a folder or file, you can select 'Link settings' and choose to 'Set password'. This ensures only people with the password can access the shared content.
Is it safe to share a Microsoft account with others?
No, sharing a Microsoft account is highly discouraged due to privacy and security risks. All users will have full administrative access to emails, files, billing information, and settings associated with that account. It is always better to create individual accounts and share specific folders.




