Articles about authcomponent

Helping you solve those tough coding problems since 2009!

C# Basic Authentication with ASP.NET MVC

Published on Aug 2, 2022

In this tutorial, I'll show you how to implement basic authentication using ASP.NET MVC implementing the AuthorizationFilterAttribute Filter

CakePHP 2.x Login System

Published on Sep 18, 2012

Well, since one of my most popular all-time blog posts is Login system with CakePHP in under 10 minutes I think it's time that I update it to version 2.x (currently 2.2 at the time of writing).  The original post was probably written for version 1.2 or 1.1 and there have been several changes made, especially with breaking changes to the AuthenicateComponent.

The beautiful part is the changes are extremely limited.  In fact, only the UsersController requires a few minor changes.

3 Flaws to CakePHP's AuthComponent

Published on Apr 10, 2009

Good Friday to all.  Over the past several weeks I have been working a lot with the AuthComponent in CakePHP and have learned a couple of lessons that I wanted to share with you all.

The title calls them "flaws", but I suppose this isn't completely accurate, it depends how you look at it.  To me they are flaws because I assumed the AuthComponent worked one way, only to find out different.

Login system with CakePHP in under 10 minutes

Published on Mar 23, 2009

** If you've found this article through a Google search, visit my CakePHP 2.x Login System for an updated version of this article. **

In today's article, I am going to discuss how simple it is to setup a login system with CakePHP.  As the title says, it should be less than 10 minutes.  In theory if you copy and paste the code below, it should be fully functional in less than 5.

Ready, set, let's bake.

Tutorials

Learn how to code in HTML, CSS, JavaScript, Python, Ruby, PHP, Java, C#, SQL, and more.

No matter the programming language you're looking to learn, I've hopefully compiled an incredible set of tutorials for you to learn; whether you are beginner or an expert, there is something for everyone to learn. Each topic I go in-depth and provide many examples throughout. I can't wait for you to dig in and improve your skillset with any of the tutorials below.