Skip to main content

Password Protection

Restrict access to your site with a password. Visitors must enter the correct password before viewing any content.

Enabling password protection

  1. Go to your site's Access tab
  2. Under Password Protection, toggle it on
  3. Enter a password (minimum 4 characters)
  4. Click Save

How it works

When password protection is enabled:

  1. A visitor navigates to your site
  2. WebStadia shows a login page prompting for a password
  3. The visitor enters the password
  4. If correct, a session cookie is set and the visitor can browse the site normally
  5. The cookie persists until the browser is closed

Use cases

  • Staging / preview sites — Protect pre-launch sites from public access
  • Client previews — Share work-in-progress with clients using a shared password
  • Internal tools — Restrict access to internal dashboards
  • Private portfolios — Share your portfolio only with specific people

Notes

  • Password protection applies to the entire site — you cannot protect individual pages
  • The password is hashed and stored securely (SHA-256 with random salt)
  • Disabling password protection immediately makes the site public again