title: Symfony2: How restrict files in publicly accessible directory
body: <p>I have XML files in a publicly accessible directory. I want to restrict them to accessible only to logged in users. So when I go to <code>http://example.com/web/file.xml</code> only AUTHENTICATED members can access the file. I'm using PHP &amp; Symfony2.</p>