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.