Password-protected file hosting: lock an image or video link

ImgBasket now supports password-protected file hosting. Upload an image or video, set a password, and send the link only to the people who should have it. The file page, the direct download link and the preview image all stay locked until the password is entered. It is a simple way to create a secure file link with password protection, free and with no account, and it works for password protected image hosting and password protected video hosting alike.

How password protection works on ImgBasket

  1. Open the uploader and choose or drop the file.
  2. In the upload options, type a password in the Password field. Choose 4–72 characters and use something you are willing to send separately from the link.
  3. Confirm the upload. The file is stored exactly as before, and the password is saved only as a one-way hash — not as readable text.
  4. Copy the page link or the direct link and send it to the recipient. Share the password through a different channel.
  5. When someone opens the link, they see a password form. After entering the right password, their browser remembers the unlock for seven days.

Files up to 20 GB each are accepted, and password protection can be combined with temporary image hosting or temporary video hosting: set Delete after as well, and the link stops working at that time even for someone who knows the password.

Password protected image hosting and video hosting

The upload option is the same for both. For password protected image hosting, choose a photo; for password protected video hosting, choose an MP4, MOV, WebM or M4V. Either way the result is a password protected link, and the direct file stays a password protected download link until the recipient enters the password. If you looked for how to protect a file with a password online, this is the whole flow: choose the file, set the password, then share the link.

For private file sharing with a password, treat the link and the password as two separate things. The link can travel through a chat or an email; the password should go through another channel. That combination is what makes a secure file link with password protection useful in practice, especially when the link is posted somewhere other people can see it.

What the person opening the link sees

Password protection vs. link-only vs. public hosting

Password protected
(ImgBasket)
Link-only / unlisted
(ImgBasket)
Public gallery host
Password requiredYesNoNo
Anyone with the link can open itOnly with the passwordYesYes
Listed in a gallery or feedNoNoYes
Search engines can index itNoNoUsually
Account requiredNoNoUsually no
FreeYes, no paid tierYesOften ad-supported
Auto-delete1 hour – 90 days1 hour – 90 daysRarely

Password protection is an access check, not encryption. The file is stored and streamed like any other upload; the password stops casual opening of the link, and the site never exposes the password or its hash. If you need end-to-end encryption or account-based permissions, use a service built for that.

When a password-protected link is the right choice

The direct link is the one to protect when the media might be embedded elsewhere. For background on the difference between a page link and a direct file link, see upload an image and get a link and upload a video and get a link.

Good practice for the password

Password protection, privacy and search

Protected pages are excluded from search: they carry noindex, nofollow, direct files and thumbnails send X-Robots-Tag: noindex, and uploads never enter the sitemap. Unlike a link-only upload, a protected file also does not expose its preview image to chat apps, because the password page uses the site's default sharing image. The Privacy Policy lists what the site records; the password itself is stored only as a hash and is never shown in the admin or returned by the API.

Common questions

Can I password-protect an image or a video?

Yes. The same option works for JPG, PNG, GIF, WebP, AVIF and BMP images and for MP4, WebM, MOV, M4V, MKV and the other accepted video formats. There is no separate image and video flow.

Is the password part of the link?

No. The link contains only a random token. The password is a separate value you give the recipient, which is why sharing the two through different channels is safer.

Does the direct link work without the password?

No. The direct file URL, download link, embed code and preview image all require the unlock cookie that a correct password creates. An <img> or <video> tag on another site will not show the file without that unlock.

How long does the unlock last?

Seven days in that browser. After it expires, the password is asked for again. Clearing cookies or using a private window shortens it.

Can I change or remove the password later?

The public site has no account area, so there is no edit button. Upload a new copy with the password you want, and let the old file expire (or ask for removal through the Report link).

Can I add a protected file to an album?

No. An album link opens several files together, but each protected file has its own password prompt, so protected uploads stay individual. Use the one-album-link switch only for unprotected files.

Is there a password attempt limit?

Yes. Unlock attempts are rate-limited per IP address, and repeated wrong passwords are slowed down. That protects the file from automated guessing.

Upload a password-protected file