- Open OneDrive > Select the file or folder > Share > Set password > Add password > Get a Link.
- Open OneDrive app > Settings > Passcode > Enable Face ID/Face Unlock.
Method 1: Add Password Protection Using Microsoft 365
One of the most requested OneDrive features was finally added by Microsoft. You can now add a password to a OneDrive link before sharing it with others. The recipient will have to use the exact password before accessing the files in the OneDrive link.
You don’t have to worry about any third-party accessing OneDrive files without access. Follow the below steps to access it using OneDrive web.
Step 1: Go to your OneDrive page and then log in using Microsoft credentials.
Step 2: Choose the files or a folder that you want to share.
Step 3: Select the folder and then tap on the Share button at the upper left corner.

Step 4: In the share dialog box, select the Set password option.

Step 5: Add a password to the link and then select Get a link option.
Step 6: Copy the link and then share it with others (you will need to share the password with receiving person so that he can access the files in the link).
Unfortunately, the functionality is only available on OneDrive Web and not on any mobile apps or Windows 10 native app. Here is hoping Microsoft adds the option to mobile apps soon for better convenience.
Fix 2: Use Biometrics
This one is the most basic security feature everyone should be using. Microsoft supports every default biometric authentication on Android (Fingerprint), iOS (Face ID), and Windows 10 (Windows Hello) .
Open the OneDrive app > Settings > Security and turn on the relevant option . By default, you must set a 4-digit password just in case you are unable to use a biometric option.
