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
  • Authentication

Tag: Authentication

CakePHP

One time login links in CakePHP

Mark
April 24, 2025
0

Sometimes also called magic links, these login links provide a way for a user to log in without the need of password entering. Basic workflow Instead of a "password reset" button to send you a mail to confirm your password…

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

CakePHP and connecting to GitHub API

Mark
October 22, 2016
0

I had to write a small tool to automate releasing certain GitHub repositories, and for that to authenticate I had to connect to GitHub API. The integration wasn’t super-easy as there was no documentation yet on how this could be…

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

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 (174)
    • DevVM (1)
    • HTML (2)
    • JS (2)
      • jQuery (2)
    • MySQL (3)
    • PHP (166)
      • CakePHP (149)
    • Testing (6)
Recent Posts
  • CakePHP Tips Spring 2025
  • IdeHelper plugin on steroids
  • eInvoicing in PHP
  • One time login links in CakePHP
  • TinyAuth and CakePHP authorization plugin
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
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May    
Archives
Pages
  • About us
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • Working with decimals in PHP apps 3 views
  • Database migration tips for CakePHP 2 views
  • Enums in CakePHP – reloaded 2 views
  • Middleware and CakePHP 1 view
  • eInvoicing in PHP 1 view
  • Nginx setup for your (CakePHP) apps 1 view
  • ACL – Access Control Lists – revised 1 view
  • TinyAuth and CakePHP authorization plugin 1 view
  • Return null vs return void 1 view
Copyright © All rights reserved. Theme: Blog Elite by Themesaga