How to Restrict OneNote and OneDrive Access on a Shared Device
Question details
The user wants to restrict access to specific OneNote notebooks and OneDrive files on a shared computer using the same Microsoft account.

- Product
- OneNote and OneDrive
- Device & OS
- not provided
- Scenario
- Using a single Microsoft account on a shared device where sensitive files or notes need to be hidden or restricted from other users.
- Observed behavior
- Microsoft accounts do not provide a built-in feature to restrict individual OneNote notebooks or OneDrive files to specific devices when logged in on a shared computer.
Ensure you have a secure place to store your passwords, as Microsoft cannot recover locked OneNote sections if you forget the password.
Apply Password Protection to Specific OneNote Sections
Since device-level notebook restriction isn't supported, locking individual sections is the most effective way to secure sensitive notes on a shared device.
OneNote allows you to encrypt individual sections within a notebook. Once a password is set, anyone trying to view the pages inside that section will need to enter the password.
Note that password protection is only available for sections, not for entire notebooks or individual pages.
Open OneNote and navigate to the notebook containing the sensitive information. Right-click on the specific section tab you want to secure.
Click on 'Password Protect this Section' from the context menu. A Password Protection pane will appear on the right side of the screen.
Click the 'Set Password' button. Enter your desired password, confirm it by typing it again, and click 'OK'.
You can manually lock the section by clicking 'Lock All' in the Password Protection pane, or press Ctrl + Alt + L on your keyboard.

Use Web-Only Access for OneDrive and OneNote
Avoid syncing files to the local hard drive of a shared computer by exclusively using web browsers for access.
Try WPS Office for Secure Document Management
If managing shared access with Microsoft accounts is too complex, WPS Office offers a highly secure, lightweight alternative. You can easily encrypt individual Word, Excel, and PDF files with passwords, preventing unauthorized access on shared computers while maintaining perfect compatibility with Microsoft Office formats.
- 1. Open Your Document: Launch WPS Office and open the document you wish to protect.
- 2. Access Encryption Settings: Navigate to the 'Protect' tab on the top ribbon and select 'Encrypt'.
- 3. Set Passwords: Enter a password for opening the document and an optional password for modifying it, then click 'OK' to secure your file.

Frequently Asked Questions
Can I lock an entire OneNote notebook instead of just sections?
No, OneNote only supports password protection at the section level. You cannot apply a single password to lock an entire notebook or individual pages.
Is there a way to hide a specific OneDrive folder on a shared computer?
You can choose which folders to sync to a PC via OneDrive settings (Choose Folders). However, anyone with access to the signed-in Windows account can easily revert these settings. For strict privacy, web-only access is recommended.
Can I use multiple Microsoft accounts on the same Windows login securely?
While you can switch accounts within Office apps, keeping a shared Windows profile means anyone can open the apps and access the signed-in accounts. Creating separate Windows user profiles for each person is the only truly secure method.
Will OneNote automatically lock my protected sections?
Yes, OneNote automatically locks password-protected sections after a period of inactivity. You can adjust this timeout duration in OneNote Options under the Advanced settings.




