Private apps

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.

storefront · Settings → Visibility

Visitors must enter a password to access this app.

staging.ship.acme.dev

Access Required

This app is password protected.

••••••••
Continue

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: Private

02

Add members

Add teammates and tick what each can do. Admins can always open the app.

priya@acme.dev  Pull · Push · Deploy

03

Visitors sign in

Visitors see an Access Required page. Once in, they stay signed in for 30 days.

Set-Cookie: … Max-Age=2592000

Members & 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
Team & permissions
PSpriya@acme.devMember of storefront
  • 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
Access control docs
StagingPrivate

staging.ship.acme.dev

Only your team can open it. Everyone else, search engines included, sees a login page.

Internal toolsPrivate

admin.ship.acme.dev

Admin panels and back-office apps, without login code in each one.

Client previewsPassword

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
Access control
  1. GET staging.ship.acme.dev/ordersA request arrives at the proxy
  2. Valid access cookie?Checked against the app’s visibility
  3. No → Access Required pagePassword form, or Log In to Slasha
  4. 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?
No. Slasha’s proxy checks each request before it reaches your app, so your app only sees visitors who are allowed in.
How long does a visitor stay signed in?
30 days. Changing the visibility or the password signs everyone out, so that’s also how you take access away.
Does it cover custom domains too?
Yes. Visibility is set on the app, so it covers the default subdomain and every custom domain.
Who can change an app’s visibility?
The app’s owner, admins and members with the App Settings permission. You change it in the app’s Settings tab in the dashboard. The CLI can’t change it yet. See Access control.
Can I invite someone by email?
No, Slasha doesn’t send email invites. An admin creates the user’s account. Then anyone with Manage Members can add them to the app and pick their permissions. See Team & permissions.
Can this replace my app’s own login?
For staging, previews and internal tools, usually yes. For a product with its own users, keep your app’s login and leave the app Public.

Other features

All features

Keep staging and internal tools private

Deploy them next to production and choose who can open each one.

$curl -fsSL https://slasha.com/setup.sh | bash