Open WebUI’s default lets anyone who reaches the page create an account. That is fine on your own laptop, and a hole on any server others can reach. The standing rule for public entries applies here: set access control first, before the entry goes public — disable open registration before you share the address.
Disable open registration
- Log in as the admin account — the first account created on the install.
- Go to Admin → Settings → General.
- Find the registration setting and set it to Disabled — only the admin can create accounts. Save.
The setting has three levels: Open registration, where anyone can create an account; Admin approval required, where users sign up but need approval; and Disabled, the most secure, where only the admin creates accounts. For a personal install, Disabled is the right choice. For a team, approval-required lets people request access without handing it out automatically.
Confirm it worked
Open the sign-up page in a private browser window without logging in: it should no longer let a stranger create an account. Then create any accounts your household or team needs from Admin → Users → Add User. Also set a stable WEBUI_SECRET_KEY in the container environment — without it, Open WebUI generates a new signing key on each restart and logs everyone out.
| Check | What you should see | If you do not see it |
|---|---|---|
| Registration disabled | The sign-up page refuses a new account when logged out | The setting was not saved — re-open Admin → Settings → General and check |
| Admin can add users | Admin → Users → Add User creates an account | You are logged in as a regular user, not the admin |
| Sessions survive restarts | WEBUI_SECRET_KEY is set in the container | Without it, every restart logs all users out |
Expected result. We checked the Open WebUI setup guide for the three registration levels in Admin → Settings → General and the Add User path, and the install guide for the disable-after-setup advice and WEBUI_SECRET_KEY. We did not run Open WebUI, so the steps above are UNTESTED on this machine.
Limits
Disabling registration does not log out accounts that already exist — review the user list and remove any you do not recognise. Access control in the app does not replace network control: do not expose the port to the internet without a reverse proxy and HTTPS.
Sources
- Open WebUI setup guide — Admin → Settings → General: Open registration, Admin approval required, Disabled (only admin can create accounts, most secure); Admin → Users → Add User
- Open WebUI with Ollama guide — disable registration after setup to lock down a personal install; set WEBUI_SECRET_KEY so sessions survive restarts
Sources checked 2026-11-28.
