01.06.2017 - Learn how to build and secure your first CakePHP app. In this tutorial, I'll show you how to build a web application with CakePHP and add authentication to it. Check out Models query your database and return the necessary data. .. We loaded CakePHP's Auth Component and passed in three keys, .