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
 
submitted
Tue, Apr 30th 2013, 23:40
clicks today
281
clicks this month
284
clicks all time
319