Answer the question
In order to leave comments, you need to log in
Where it is possible to find normal implementation of control authorized?
Well, on a procedural I can file a redirect function and shove it into each page module, that is, I know in advance which page is for authorized and which is not.
I climbed the net, what do I find? I find the implementation of authorization in ONE VIEW, where the authorization form when checking the token is replaced by an alleged zone authorized by a redirect to itself: that is, something like this
if ($token) {
// типа сайт для авторизованного
} else {
// форма авторизации
}
Answer the question
In order to leave comments, you need to log in
The specific implementations of RBAC, ACL that you are looking for are tied to the architecture of applications / frameworks, incl. You will have to write most of it yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question