News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Henrik Bjørnskov' Blog:
Symfony2 Quick tip for your security configuration
December 27, 2011 @ 08:40:45

Henrik Bjørnskov has a quick new post with a security tip for those using the Symfony2 framework in its configuration.

Earlier when playing around with the Security component and SecurityBundle i found that for all paths you can specify a route name and the component will match it when check for the request paths.

Setting this up in your configuration gives you more control over the paths that are matched as well as more flexibility in defining them. He includes a note about a change you might have to make to the SecurityBundle's code to get the "check_path" part working correctly. You can find out more about the SecurityBundle's integration in this blog post from Pablo Bandin.

0 comments voice your opinion now!
symfony2 framework security bundle checkpath path


blog comments powered by Disqus

Similar Posts

Jim Plush's Blog: I'm Officially a Baker with CakePHP

Felix Geisendörfer's Blog: Make printing easy, using a PrintController

Marco Tabini\'s Blog: Security Is As Security Does

Community News: Drual 5.0 Released (on it's 6th Birthday!)

Paul Jones' Blog: Solar 1.0.0 alpha1 Released


Community Events





Don't see your event here?
Let us know!


podcast list symfony2 opinion developer experience testing release introduction install series laravel language configure unittest community interview threedevsandamaybe code framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework