Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Henrik Bjørnskov’ Blog: Symfony2: Quick tip for your security configuration

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.

Source: http://www.phpdeveloper.org/news/17307

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Posted Grudzień 28th, 2011 in WEB and PHP Development.

Leave a response: