Henrik Bjørnskov' Blog: Symfony2: Quick tip for your security configuration
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.