Skip to navigation Skip to content

DerEuroMark

A blog about Frameworks (CakePHP), MVC, Snippets, Tips and more

Primary Menu
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • About us
  • Home
  • Auth

Tag: Auth

CakePHP

Improved Session authenticator for CakePHP

Mark
July 19, 2025
0

There is a new CakePHP session authenticator on the block. Status quo Historically, the Session provider in CakePHP 3.x times using the AuthComponent stored an array of your user (entity) in the session upon login. It was accessed using Auth.User,…

Read More
CakePHP

TinyAuth and CakePHP authorization plugin

Mark
April 17, 2025
0

Part 2 of 2. We continue on the auth topic of the previous post. Let’s talk ACL In this second post, we’ll dive into role-based access and how to achieve it easily and quickly. We use the authentication plugin by…

Read More
CakePHP

TinyAuth and CakePHP authentication plugin

Mark
February 23, 2025
0

Over 13 years ago I wrote about my TinyAuth plugin as enhancement to the core Auth component, at the time the state of the art auth tool you needed for a quick auth setup in Cake apps. Lets revisit that…

Read More
CakePHP

ACL – Access Control Lists – revised

Mark
January 6, 2015
4

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…

Read More
CakePHP

Auth – inline authorization the easy way

Mark
April 7, 2012
0

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…

Read More
CakePHP

Qlogin – Quicklogins für CakePHP

Mark
February 8, 2012
0

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…

Read More
CakePHP

More persistent sessions in Cake2.x

Mark
February 2, 2012
14

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…

Read More
CakePHP

TinyAuth – The fastest and easiest authorization for CakePHP

Mark
December 18, 2011
64

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…

Read More
Search the site
Tags
ACL Annotations Auth Authentication Authorization Background tasks Bake Behavior Bootstrap CakePHP CakePHP1.3 CakePHP2 CakePHP3 Component Composer Console Custom Template Database ErrorHandler Framework Git Helper HTML5 IDE IdeHelper Lib Login Migration Model PHP PHP5 PHP5.4 PHPStan PHPUnit Plugin Queue redirect Roles Security Testing Tips Travis CI Upgrade Validation virtual fields
Categories
  • Common (7)
  • Fun (1)
  • VersionControl (7)
    • Git (2)
    • SVN (5)
  • WebDevelopment (175)
    • DevVM (1)
    • HTML (2)
    • JS (2)
      • jQuery (2)
    • MySQL (3)
    • PHP (167)
      • CakePHP (150)
    • Testing (6)
Recent Posts
  • Improved Session authenticator for CakePHP
  • CakePHP Tips Spring 2025
  • IdeHelper plugin on steroids
  • eInvoicing in PHP
  • One time login links in CakePHP
Recent Comments
  • Mark on Middleware and CakePHP
  • Mark on Middleware and CakePHP
  • Michael Schrading on Middleware and CakePHP
  • Mark on Middleware and CakePHP
  • Michael Schrading on Middleware and CakePHP
Calendar
August 2025
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Jul    
Archives
Pages
  • About us
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • CakePHP 3.0 Migration Notes 4 views
  • CakePHP 5 upgrade guide 3 views
  • Improved Session authenticator for CakePHP 3 views
  • Virtual query fields in CakePHP 3 views
  • Virtual entity fields in CakePHP 3 views
  • Working with decimals in PHP apps 3 views
  • Generating PDFs with CakePHP 2 views
  • Queue – Deferred execution in CakePHP 2 views
  • (Cake)PHP queuing: Real-life examples 1 view
  • Geocoding with CakePHP 1 view
Copyright © All rights reserved. Theme: Blog Elite by Themesaga