Related topics
Secure, protect, and restore - OneDrive (personal)
Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Secure, protect, and restore - OneDrive (personal)

Use expiration dates and passwords

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

Try it!

With a Microsoft 365 subscription, you can add expiration dates and passwords to files you share in OneDrive to make them more secure.

  1. In your browser, select a file or folder.

  2. Select Share.

  3. Select Link settings.

  4. Set an expiration date.

  5. Set a strong password.

  6. Select Apply.

  7. Type names, email addresses, add a message and select Send.

    Or copy the link and share it however you want.

  8. Send the password in a separate message so recipients can open the file.

Important: The link works until the expiration date. Create another link to give access again.

Want more?

Video: Share files and folders in OneDrive

OneDrive Help

eBook: Get started with OneDrive

Discover more Office training at LinkedIn Learning

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?

Thank you for your feedback!