Skip to content

Password protection

Password protection puts a sign-in box in front of the whole application. It works for every application type. Visitors see nothing until they enter the username and password you choose. It is handy while a site is being built or reviewed by a client.

Open the application and go to Security › Password & access.

  1. Click the Password protection switch.
  2. Netkeel fills in the username visitor and a generated password. Change either if you like:
    • Username: 3 to 32 letters, numbers, dots, dashes or underscores.
    • Password: 8 to 128 characters. Click Generate for a new random one.
  3. Click Turn on protection.

Share the username and password with the people who should see the application.

While protection is on, the card shows the Username and Password. Click the eye to show the password and the copy button to copy either value.

To change them, click Change username or password, edit the fields and click Save changes. Anyone using the old password is asked to sign in again.

Click the switch and confirm Turn off protection. The application is public again, and the saved username and password are removed.

  • Google PageSpeed can’t open a protected application, so the Loading speed card on the overview can’t test it while protection is on.
  • When you clone an application or move it to another server, its password protection goes with it.
  • An AI agent’s application (OpenClaw or Hermes Agent) is always behind a password, which can’t be turned off. You can change the username and password. Only the account’s owners and administrators can see or change them.

Two cards on the same page control which addresses can open this application. Type one IP address or range per line, for example 203.0.113.10 or 198.51.100.0/24, up to 200 in each, and click Save. The page shows your current address.

  • Allowed visitors: only these addresses can open the application. Anyone else gets a “403 Forbidden” page, including search engines, so use this for private or internal applications. Leave it empty to allow everyone. Netkeel’s own checks, the file manager and certificate renewal always work. The panel warns you if your own address isn’t in the list.
  • Blocked visitors: these addresses get a “403 Forbidden” page on this application only. Your own address can’t be blocked.

The Visitors by country card turns away visitors from chosen countries. Choose Block these countries or Allow only these countries, pick up to 60 countries and click Save. A visitor who is turned away sees a “403 Forbidden” page. Leave the list empty to turn it off.

  • The Allowed visitors list always wins, so an address you allow gets in whatever its country.
  • Netkeel’s own checks, the server itself and the certificate renewal are never turned away.
  • Netkeel finds a visitor’s country from public address lists for each country. The lists are refreshed every week. If a list can’t be downloaded, the last one stays in use, and an allow-only rule isn’t applied until every list is available, so you aren’t locked out by a failed download.
  • If a rule would turn away your own country, the panel asks you to confirm first.
  • Country lists are good, not perfect: visitors using a VPN appear to come from the VPN’s country.

Country blocking needs the server’s Netkeel agent to be up to date; it updates by itself.

The same page has the application’s own firewall, which blocks attack requests and limits how fast one visitor can send requests. See Application firewall. To block an address from the whole server, use the server’s firewall. See Firewall and SSH.