title: How to create restricted and non restricted area same time in Symfony2
body: <p>what i have to build is page that have some pages that are restricted and some are not on similar links. I`ll try to explain it on example:</p>
  
  <p>Let's say that i have users in my system (based on FOSUserBundle), and each of them have own account that contains a Blog and Gallery (different controllers). Some of User want to give access to thier Blog and Gallery only for certain group of people (that are not stored in system), so they generate token (only one token, so whoever know token will be able to access area) and sends to Users. What i don`t want to do is to check it in each method of controllers. </p>
  
  <p>So let`s say we have 2 users, <strong>steven</strong> and <strong>stan</strong> and first of them want to make his blog and gallery free to see, but second one want to be restricted based on token.</p>
  
  <p>Link would be like this:</p>
  
  <pre><code>/steven/blog
  /steven/gallery
  
  /stan/blog
  /stan/gallery
  </code></pre>
  
  <p>Could anybody recommend some solution or any idea how can i try to build it in Symfony2?</p>