logo
search
Permission & Access Issues

How to Password-Protect OneDrive Folders on a Shared Account

Maira MehtabMaira Mehtab Sep 28, 2026 869 views

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 you start

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.

Solution 1Recommended

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.

1
Create individual accounts

Have each user register for their own free Microsoft account instead of sharing the primary login credentials.

2
Log into the primary account

Sign in to the primary OneDrive account where the folder currently resides.

3
Initiate sharing

Right-click the folder you want to share with the other users and select 'Share'.

4
Set permissions

Enter the specific email addresses of the new individual accounts, set the permission level to 'Can view' or 'Can edit', and click 'Send'.

Best Practice: This method ensures that personal files remain private while still allowing seamless collaboration on shared folders.
Free Microsoft Office alternative

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. 1. Open your document: Launch WPS Office and open the document you wish to secure.
  2. 2. Access encryption settings: Go to the 'Menu' button in the top left corner, select 'Document Encryption', and then choose 'Encryption'.
  3. 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.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Built-in document encryption to easily password-protect individual files.Free and lightweight suite including Writer, Spreadsheet, and Presentation.Familiar user interface for seamless migration from Microsoft Office.
microsoft office alternative - wps office

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.