Secure Cloud Storage: Share Files Without Exposing Them

By Information Security Asia · Updated November 21, 2026 · 4 min read

Short answer: share files with specific people rather than “anyone with the link” whenever possible, set expiry dates and view-only access for sensitive files, add a password where your service supports it, review and remove old shares regularly, and protect the cloud account itself with a unique password and two-factor authentication. Most cloud storage leaks come from overly open links and forgotten shares, not from the provider being hacked.

Google Drive, Microsoft OneDrive, Dropbox and iCloud Drive all encrypt files in transit and at rest. But encryption does not help if a link that grants access to “anyone” is forwarded, posted or indexed. Security researchers regularly find sensitive documents exposed through public sharing links.

Secure Cloud Storage: Share Files Without Exposing Them
Sharing option Who can open it When to use
Specific people Only named accounts you invite Default for anything sensitive
People in your organisation Anyone signed in to your company domain Internal documents
Anyone with the link Anyone who gets the URL, no sign-in Public, non-sensitive files only
Public on the web Anyone, and may be discoverable Content intended for publication

“Anyone with the link” is convenient but means the link itself is the key. Links get forwarded, pasted into chats, saved in browser histories and occasionally captured by third-party tools.

Service-by-service settings

Google Drive

  • Click Share, add people by email, and choose Viewer, Commenter or Editor.
  • Under General access, keep it as Restricted unless the file is public.
  • In settings, you can stop viewers and commenters from downloading, printing or copying.
  • Google Workspace accounts can set access expiration dates for individual people.

Microsoft OneDrive

  • When sharing, choose “Specific people” and untick “Can edit” for view-only.
  • Microsoft 365 plans allow expiry dates and passwords on links.
  • Check Manage access to see and remove existing links.

Dropbox

  • Invite people by email for private sharing.
  • Paid plans support link passwords, expiry and disabling downloads.
  • Review shared links under Shared > Links.

iCloud Drive

  • Use Share File or Collaborate and choose “Only invited people”.
  • Set permission to “View only”.
  • Note that iCloud shared items are not end-to-end encrypted even with Advanced Data Protection; see securing iCloud.

Sharing sensitive files safely

  1. Ask whether it needs sharing at all. Sometimes showing a document in a meeting is enough.
  2. Use specific-people sharing, view-only, with download disabled where possible.
  3. Set an expiry date so access ends automatically.
  4. Add a password and send it through a different channel, such as a phone call or text.
  5. For highly sensitive data such as ID documents, tax records or medical files, consider an end-to-end encrypted service or encrypting the file before upload. See how to send sensitive files securely.

Review and clean up old shares

Shares accumulate silently over years. Every few months:

Secure Cloud Storage: Share Files Without Exposing Them
  • In Google Drive, search is:shared or use the “Shared with me” and file details panes; Workspace admins can audit sharing in the admin console.
  • In OneDrive, open Shared > Shared by you and remove links you no longer need.
  • In Dropbox, review Shared > Links and delete old ones.
  • Remove former colleagues, contractors and ex-partners from shared folders.

Protect the account behind the files

  • Use a unique password and a password manager.
  • Turn on two-factor authentication or a passkey.
  • Review connected third-party apps with access to your drive.
  • Watch for phishing emails pretending to be “shared document” notifications; open shared files by signing in to the service directly.

For businesses

  • Restrict external sharing to approved domains or require sign-in for guests.
  • Set default link type to “Specific people” or “People in your organisation”.
  • Apply automatic expiry for external links.
  • Use data loss prevention (DLP) rules to flag files containing card numbers or ID numbers.

Frequently asked questions

Can Google or Microsoft see my files?

Providers can technically access standard (non end-to-end encrypted) files for operations such as scanning for malware and abuse, under their privacy policies. Use end-to-end encrypted storage for highly sensitive files.

Can search engines find my shared files?

Files set to “public on the web” can be indexed. “Anyone with the link” files are not normally indexed, but links posted publicly can be found.

Does deleting a file remove access?

Yes, once the file is permanently deleted. Files in trash may still be recoverable by you for a period.

What if I shared something by mistake?

Change the sharing to Restricted or delete the link immediately, then check the file’s activity log to see who opened it.

Related: working from home securely, least privilege for small businesses.

Sources

Keep reading