#
Administration
Despite following many security best practices, the SillyTavern server is not secure enough for public internet exposure.
NEVER HOST ANY INSTANCES TO THE OPEN INTERNET WITHOUT ENSURING PROPER SECURITY MEASURES FIRST.
WE ARE NOT RESPONSIBLE FOR ANY DAMAGE OR LOSSES IN CASES OF UNAUTHORIZED ACCESS DUE TO IMPROPER OR INADEQUATE SECURITY IMPLEMENTATION.
To share your SillyTavern instance with others, you can create multiple user accounts. Each user has their own settings, extensions, and data. User accounts can also be password-protected.
You can access your SillyTavern instance from your phone, tablet, or another computer.
To access your SillyTavern instance from the internet, you can use a VPN or a tunneling service like Cloudflare Zero Trust, ngrok, or Tailscale.
For enthusiasts, you can set up a reverse proxy to access your SillyTavern instance from the internet.
#
Security checklist
This is just a recommendation. Please consult a web application security specialist before making your ST instance live.
- Keep your operating system and runtime software like Node.js updated. This will ensure that your system is up-to-date with the latest security patches and fixes which can help prevent potential vulnerabilities.
- Use a whitelist and a network firewall. Only allow trusted IP ranges to access the server.
- Enable basic authentication. It acts as a "master password" before you can proceed to the front-end app.
- Alternatively, configure external authentication. Some known services for that are Authelia and authentik. See more in the SSO guide.
- Never leave admin accounts passwordless. A server will warn you upon the startup if you have any unprotected admin accounts.
- Use the discreet login setting outside of the local network. This will hide the user list from any potential outsiders.
- Check the access logs often. They are written to the server console and the
access.log
file and provide information on incoming connections, such as IP address and user agent. - Configure HTTPS. For a localhost server, you can generate and use a self-signed certificate. Otherwise, you may need to deploy a proxying web server like Traefik or Caddy.
Find more on secure proxying in the following guide: Reverse Proxying SillyTavern.