I m in a bit of a dilemma at the moment regarding Django s admin backend. The default authentication system allows already logged-in users that have staff privileges to access the admin site, however it just lets them straight in.
This doesn t feel “right” to me, and I m wondering if it would be difficult to at least require a re-authentication of that same session in order to get into the backend.
Preferably though, it d be good if the frontend sessions could be separated from the backend ones (though still using the same user objects), this would allow a clean separation of both parts of the site. Would this perhaps require two separate authentication backends? Would something like this be difficult to achieve?