Sarpius is een handelsnaam van Synthwave-technologies.nl · KvK 73239038 · btw NL002410192B67 · Apeldoorn, Nederland
(c)2026 Sarpius. Alle rechten voorbehouden.
Gehost in de EU
Put an app behind a password, an IP allow list, or a deny list without changing a line of your code. Sarpius enforces these rules at the edge, in Sarpius Router, before a request ever reaches your container. You can set one policy for a whole Project or a tighter one for a single Component, and password protection is built so an app that already has its own login keeps working underneath it.
Every request to a deployed app passes through Sarpius Router, the edge reverse proxy that terminates TLS and forwards traffic to your container. Edge security lets you attach an access policy to that hop. When a policy is active, Sarpius Router checks the request against it first and only forwards the request if it passes. Because the check runs at the edge, it protects the app no matter what framework or language it runs, and a blocked request never consumes your container.
A policy can combine all three. You manage it in the Project workspace under the Security section (Project-wide policy) and on a Component under its Security tab (per-Component policy).
When a request arrives for an app that has an active policy, Sarpius Router evaluates it in a fixed order and stops at the first rule that applies.
IP rules and password protection are independent. The IP checks apply to the address; the password check applies to the person. A request must satisfy both when both are configured.
A policy lives at one of two scopes. A Project-wide policy is the default that every Component in the Project inherits. A Component can override it with its own policy when one part of the app needs different rules, for example locking a staging admin panel while the public front-end stays open.
Each Component chooses one of three modes for how it relates to the Project policy:
The Component Security tab shows the inherited Project policy alongside the mode selector, so you can see what "Inherit" resolves to before you switch to Custom or Public.
Turn on the sign-in toggle and add one or more username and password credentials. When protection is on, Sarpius Router answers any unauthenticated request with a standard HTTP Basic challenge, so the browser shows its native sign-in dialog. Passwords are stored only as a bcrypt hash; the platform never shows a saved password back to you, and the API only ever returns the list of usernames.
GET / HTTP/1.1
Host: your-app.sarpius.app
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="your-app.sarpius.app"The key design point: password protection does not break an app that already has its own authentication. Browsers send Basic credentials on the single Authorization header, which is the same header many APIs use for their own Bearer tokens. If Sarpius Router left the Basic header in place, the two would collide and every Authorization: Bearer request would be rejected at the edge.
To avoid that, the edge does two things on a successful Basic sign-in. It strips the Basic credential so it never reaches your app, and it sets a signed, expiring session cookie in the browser. On every later request the cookie proves the visitor already passed the edge password, so Sarpius Router leaves the Authorization header untouched and your app receives its own Bearer token exactly as it expects.
Set-Cookie: __synthrouter_auth=...; Path=/; Max-Age=43200; HttpOnly; Secure; SameSite=LaxThe session cookie is bound to the exact host, to the specific policy it was issued against, and to a fingerprint of that policy's current credentials, and it carries an expiry (12 hours by default). Because of that binding, a cookie from one app cannot authorize another, and rotating or removing a password invalidates every outstanding cookie immediately rather than waiting for it to expire.
Add addresses as single IPs or CIDR ranges, in either IPv4 or IPv6. Each entry can carry a short label to remind you what it is. Rules are validated as you type; an invalid range is flagged and the policy is not saved until every entered range is valid.
203.0.113.42 single IPv4 address
203.0.113.0/24 an IPv4 range
2001:db8::/32 an IPv6 rangeThe editor offers a "Use my IP" shortcut that reads the address you are currently browsing from and adds it as an exact-match allow rule, so you do not accidentally lock yourself out when you start an allow list. If your active allow rules would not cover your own address, the editor shows a lockout warning before you save.
An allow list is exclusive: once you add a single allow rule, every address outside it is refused. Add your own address (or a range that covers it) before you save, or you will lock yourself out of the app.
Every change publishes a route-refresh event to Sarpius Router, so a new or updated policy takes effect within seconds of saving, with a periodic full reload as a backstop. You need at least the editor role on the Project to change a policy.
Sarpius is een handelsnaam van Synthwave-technologies.nl · KvK 73239038 · btw NL002410192B67 · Apeldoorn, Nederland
(c)2026 Sarpius. Alle rechten voorbehouden.
Gehost in de EU