Skip to content

Access protection

Access protection puts a login wall in front of a public web app without writing any auth code. Visitors enter a username and password before they reach your app. Turn it on from the deployment’s Security tab.

  1. Open the Security tab

    Go to the deployment’s page in your dashboard and open Security.

  2. Choose Password protection

    Set a username and a password. The password is visible to the people in the project, except viewers, so you can share it with the people who need it.

  3. Save

    Ownkube updates the app’s routing and rolls the change out. Once it is live, every visitor sees a browser login prompt before any request reaches your app.

Password protection uses HTTP basic authentication, so it works in every browser and with curl -u user:password. Change the password from the same tab at any time; turn the toggle off to make the app public again.

Access protection works on Starter clusters only. It is not available on Ownkube Compute or on Production (EKS) clusters.

It covers public web apps only, since workers, jobs, databases and caches have no public URL to protect. Once on, the wall covers the ownkube.app address and any custom domain linked to the app.

The cluster needs platform 0.14.1 or newer. If the tab is greyed out with a version note, apply the pending platform update first.

Use it for staging environments, internal tools and sites you are not ready to launch, anywhere a public URL should exist without being open to everyone yet. For anything that needs per-user accounts, put real authentication in your app and leave access protection off.