Implementing User Authorization in PHP and Javascript

前端 未结 3 1741
深忆病人
深忆病人 2020-12-21 04:34

Assuming I have a valid session and an authenticated user, what are some ways to go about implementing user authorization in an application with a PHP/MySQL backend, and a h

3条回答
  •  -上瘾入骨i
    2020-12-21 04:55

    It seems that you are looking for something called Access Control List aka ACL (which is dead according to Zed Shaw, great video).

    It's pretty hard to give a you a solution without knowing what kind of backend you have, but you might check out how other are doing that.

    For something specific to the lithium framework (PHP), see: Lithium Access Control

提交回复
热议问题