4 ms·
We implemented something similar for our own internal admin accounts recently on http://lanyrd.com/ http://lanyrd.com/ We have a bunch of admin tools that are
by simonw 13y ago
We implemented something similar for our own internal admin accounts recently on http://lanyrd.com/ http://lanyrd.com/
We have a bunch of admin tools that are only available to our team members, for all kinds of minor administrative tasks. These show up with a nasty pink background to remind us that they are admin-only, which gets in the way of doing demos and taking screenshots.
We also support federated login via Twitter and LinkedIn, and were unhappy with the idea that someone might break the security on one of those services and use that to hijack a privileged admin account on our own site (sure, they likely have better account security than us in general, but they are a much more tempting target for attackers).
So... we added the concept of an "admin upgrade" - a link site admins can click to enter an account password and temporarily elevate their privileges. This improves the security of our admin accounts and has the pleasant side-effect of making it much easier for us to take screenshots and give demos without exposing our admin functions.
- patio11 13y agoI use something very similar to your system, but people who know better will tell you that your admin functions should be at a distinct app at admin.example.com, which you'd make only accessible to people VPNing into a gateway box which does nothing but VPN. You can secure them normally after that, independently of the service proper. This prevents a variety of attacks, such as leaving as XSS anywhere in your application, from causing you to lose th le admin console.
- simonw 13y agoWe have a seperate set of (more harmful) admin tools that are on an entirely different login system, but yes, going VPN only is definitely a sensible next step.
- emmelaich 13y agoAtlassian also have something similar; "websudo" https://developer.atlassian.com/display/DOCS/Adding+WebSudo+Support+to+your+Plugin https://developer.atlassian.com/display/DOCS/Adding+WebSudo+...