want to join us? register, it's easy | help
category icon

Symfony 2 Access Denied Listener

in PHP added by charliepage, on 30/4/2013 framework php security

We describe a very common situation in Symfony 2 - you have a user type that is not allowed to access certain pages. By default, an access denied exception is thrown - with this tutorial, we describe how to simply redirect the user with a pleasant flash message.

comment save report


(an email address)


(your name)