HTML password

Password-protect an HTML page, properly

A password typed into JavaScript can be read in the page source. droply checks the password on the server, so the page isn't sent until it's right.

Free plan: 1 project, files up to 10 MB, no expiry · no card needed · See plans

The safe way to password-protect an HTML page is on the server, not with JavaScript: anyone can read a password written in the page's code with View Source. Upload the page to droply, turn on Password in the project's access settings (Plus plan), and visitors must enter it before any of the page is sent.

1

Upload the page

Drop your .html file or site ZIP on droply.so.

2

Turn on a password

In the project's settings, set Access to Password and choose one.

3

Share link + password

Send both. Change or remove the password any time; the link stays the same.

Why JavaScript passwords don't protect anything

  • The password, or the page itself, is in the code the browser downloads
  • View Source or turning off JavaScript shows everything
  • Search engines and link previews can still read the content

droply only sends the page after the server has checked the password, so none of this applies.

Other ways to keep a page private

  • Email access: only addresses you approve can open it
  • Hide the page from search engines
  • Turn off downloads for PDFs and files

Plans

Free: 1 project, 10 MB, 5,000 visits a month. Starter ($5/month billed yearly): 3 projects, 100 MB, no badge. Plus ($12/month billed yearly): 10 projects, 1 GB, passwords, custom domains and analytics. Every paid plan starts with a 7-day free trial.

Questions

Which plan has passwords?

Plus and up. Plus is $12/month billed yearly and starts with a 7-day free trial.

Can I protect a whole site, not just one page?

Yes. The password covers every page, image and file in the project.

Can I see how many people opened it?

Yes, Plus includes visitor stats for every project.

Private pages in two clicks

Drop the file in, pick a name, and send the link. It opens on any phone or computer.