Book Image

Symfony2 Essentials

Book Image

Symfony2 Essentials

Overview of this book

Table of Contents (17 chapters)
Symfony2 Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Security and Handling Users

After sorting out basic views and form creation, we need to have a way to identify users and to display only their customized tasks. For this task to take place, we need to implement a basic authentication process and bind our to-do tasks to the users. Also, we need to enforce our authentication and prevent anonymous actions. We need to do this because all tasks need an owner and a person responsible for them. We do not want to share our own tasks list with others.

In this chapter, we will cover the following topics:

  • Review Symfony2 built-in security capabilities

  • Install a user manager bundle to make user handling easier

  • User registration