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: Auth
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…
Qlogin – Quicklogins für CakePHP
Have you ever thought how nice it would be to send emails with an url that automatically logs you in? Especially for a messaging system this can be quite handy: One click in the notification email and you can answer…
More persistent sessions in Cake2.x
This has been an issue for me way too long. I always hated the fact that users are logged out almost every few hours. Compared to other sites on the www it was ridiculously short, no matter how long you…
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…