Applies ToMicrosoft 365 for home Microsoft 365 for Mac Microsoft 365 for Windows OneDrive (home or personal) OneDrive for Mac OneDrive for Windows
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.