With a focus on CakePHP application development. Authentication vs Authorization Those two are often confused. So here a little preface: Authentication always comes first. It is about whether you are logged in or not. At this point it is not…
Tag: Authorization
Auth – inline authorization the easy way
I wrote a wrapper class to make inline authorization easier. Often times you want to check on certain roles inside an action or view and depending on the result display specific content or execute specific code. As an example we…
TinyAuth – The fastest and easiest authorization for CakePHP
Note: This is for CakePHP 2.x, for 3.x please see the bottom of the article. The CakePHP built in row based CRUD auth is way too powerful and way too slow and memory consuming. In 99% of all cases there…