Private apps
behind a password
Put any app behind a password or your team's Slasha login, with no login code. Per app, choose who can push, deploy, manage databases or change settings.
How it works
How to set it up
Both live on the app’s Settings tab.
01
Choose who can open it
Public is anyone. Password is anyone with the password. Private is app members.
Visibility: Private02
Add members
Add teammates and tick what each can do. Admins can always open the app.
priya@acme.dev Pull · Push · Deploy03
Visitors sign in
Visitors see an Access Required page. Once in, they stay signed in for 30 days.
Set-Cookie: … Max-Age=2592000Members & permissions
Choose what each person can do
Each app has its own members, each with their own permissions. A contractor can push without seeing your env vars. Toggle permissions to see what Priya can do.
- Six permissions, from Pull Repository to Manage Members
- Every member can see deployments, logs and metrics
- Only the owner can delete the app or transfer it
- See deploys, logs, metrics
- Open the app when Private
- git clone, Files tab
- git push
- Deploy, roll back
- Scale processes
- Add a database
- Open a database tunnel
- Restore a backup
- Change env vars
- Add a custom domain
- Change visibility
- Add or remove members
- Delete or transfer appowner
Use cases
Apps that shouldn’t be public
Most teams have a few apps that shouldn’t be public but aren’t worth building a login for.
- Each app has its own setting
- Switch back to Public when you launch
staging.ship.acme.dev
Only your team can open it. Everyone else, search engines included, sees a login page.
admin.ship.acme.dev
Admin panels and back-office apps, without login code in each one.
redesign.ship.acme.dev
Send a link and a password. No account needed. Change the password to revoke access.
How it works
Slasha’s proxy does the check
When an app isn’t Public, the proxy checks every request before passing it on. Visitors without a valid session get the Access Required page. Nothing to install in your app.
- Passwords are stored hashed
- Changing the setting signs everyone out
- Members use their dashboard account
- GET staging.ship.acme.dev/ordersA request arrives at the proxy
- Valid access cookie?Checked against the app’s visibility
- No → Access Required pagePassword form, or Log In to Slasha
- Yes → forwarded to web.0Your app serves the page as usual
More details
Public
The default. Anyone with the URL can open the app.
Password
One shared password. Visitors don’t need an account.
Private
Only app members and admins, signed in with Slasha.
30-day sessions
Visitors stay signed in for 30 days.
Sign everyone out
Change the password or visibility and every session ends.
Per-app members
Different people per app, each with their own permissions.
Ownership transfer
Hand an app to another user.
Login rate limits
Dashboard sign-ins are capped at 10 a minute per IP.
Questions about access
Have another question? Ask on GitHub.
Do I need to change my app’s code?
How long does a visitor stay signed in?
Does it cover custom domains too?
Who can change an app’s visibility?
Can I invite someone by email?
Can this replace my app’s own login?
Other features
All featuresKeep staging and internal tools private
Deploy them next to production and choose who can open each one.