Set a folder password safely

Set a folder password with the exact eight-character rule, understand the one-hour viewer unlock, and test descendant, share, sync, and retry behavior.

Last reviewed

A password lock closes a folder and its descendants until an authorized viewer enters the secret. Treat the password as a shared access credential and distribute it outside Dosya.

Four-step map showing a safe folder-password workflow: open settings, choose a strong password, test it, and refresh.
The image shows the visible sequence for choosing an approved password, saving it, testing from another account, and reopening the folder. Open full-size screenshot.

Rules to know

You need the Lock files workspace capability to set or replace a folder password. The password must contain at least eight characters after leading and trailing whitespace is removed; spaces inside the password count. The web form says Use at least 8 characters. and the API can return Password must be at least 8 characters.

Steps

  1. Open the intended folder and verify its full path. Check that no upload, move, share delivery, or sync job currently depends on the subtree.
  2. Open the lock dialog, select Password, and enter a unique secret of eight or more trimmed characters. Store it in the approved password manager rather than a comment, filename, screenshot, or share message.
  3. Apply the lock. A new lock reports Locked with a password; replacing an existing password reports Password updated. The new password controls future unlock attempts immediately.
  4. Refresh and open the folder as a normal member. Enter the new password and confirm the folder opens. That successful viewer unlock is tied to the user and lasts 3,600 seconds.
  5. Test one descendant file and one permitted write after unlocking. Your personal folder grant can satisfy that ancestor’s browsing and new-content gate; the item’s own lock, other ancestors and operation-specific permissions still apply. A member without a valid grant remains blocked from browsing and writing inside that locked subtree. Test shares and sync separately: existing share links do not inherit your personal grant, and locked subtrees remain excluded from sync.
Dosya file lock example showing Password beside Unlocked and View only for Launch review.pdf.
The pictured file dialog distinguishes Password from the other modes; the folder dialog uses the same choice to protect its entire subtree. Open full-size screenshot.

Failed-password limits

Five wrong passwords persistently lock further attempts for 15 minutes. The fifth wrong entry still returns Incorrect password; later attempts return Too many attempts, try again later. A separate per-isolate limit also allows five requests for the same folder and IP during 900 seconds, then responds Too many requests with a Retry-After header. Wait for the stated interval rather than repeatedly testing.

Changing the password does not delete files, but it can interrupt every route into the subtree. Keep a recovery owner available. A permitted manager can select Unlocked without knowing the old password, so role assignment remains part of the security boundary.

Expected result

The folder and descendants require the new password, a correct entry grants that viewer one hour of browser access, and unauthorized shares, writes, downloads, and sync traversal remain blocked.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.