Account Switcher for WebCentral
Account Switcher security model
How Account Switcher separates identity, entitlement and authorization, isolates switched sessions, and records every action.
Last updated
Three separate checks
- Identity comes only from your authenticated gateway. The service accepts only a client certificate whose SHA-256 is pinned in its configuration. It needs exactly one actor, groups and project header from that gateway, and the project must match. The browser never asserts identity, and browser identity headers are never passed to WebCentral.
- Entitlement: membership of
admin_grouponly allows someone to use the switcher at all. - Authorization: the site’s policy file lists, per administrator, the exact users they may open and the roles they may assign. There are no wildcards. Every open, role change, redemption and switched page request checks it again. An optional second layer in SQL Server enforces the same grants; both must allow.
Switched sessions
- Opening a user creates a single-use ticket that is valid for 90 seconds. It is redeemed on a separate hostname, and eligibility, role and grant are checked again at that point.
- Switched sessions use host-only secure cookies on a different hostname from the admin pages. WebCentral’s own cookies are kept per session. Each session ends after 30 minutes.
- To WebCentral, Account Switcher sends only the user name and project headers, on your private network.
- Switching back ends only this browser’s session, after WebCentral logout. Ending a session never changes a role. Restoring a role is a separate reviewed action.
Role changes
Role changes need a two-step review with a single-use confirmation that expires after 5 minutes. A restore applies only if the role has not been changed since. Every outcome, including refusals, is audited.
No passwords
Account Switcher never asks for, stores or handles user passwords. The SQL connection string is supplied only through the service environment, and the SQL Server TLS certificate is always validated. The service’s SQL login can only run named procedures.
Kill switch and licence
The kill switch file stops new switching at once, and an unreadable path counts as on. Live sessions are revoked.
The service refuses to start without a valid licence: missing, unreadable, altered, expired, for another product or for another customer. While it runs, every new open, role change, redemption and switched page request is checked again. In both cases, ending sessions and restoring roles stay available so nothing is stranded.
Audit
switcher.audit records actor, target, project, roles, action, outcome, time and source. Audit records never contain passwords, tickets, session tokens, licence contents or connection strings. There is no purge function. Export the table to your SIEM.
What it is not
Account Switcher is not an identity provider and does not replace your SSO. It adds nothing to the WebCentral web application. Use it only with accounts your site has authorised in the policy file.
Questions about the security model: contact ISM at info@ism-corp.us.
Done When
- Only your authenticated gateway (nginx with oauth2-proxy) can reach the service, over pinned mutual TLS.
- Each administrator's targets are listed explicitly in the policy file.
- switcher.audit is exported under your retention policy.