How to boost my application security?
<p>I have an application with the framework Symfony, I have users with particular rights, if they don't have the right to access into a page, I must block them, but the users still can access into page with modifying URLs. For example I have this URL that they have the right to access in it:</p>

<pre><code> dialog/campany/sms/fid/setting/new
</code></pre>

<p>and they don't have the right to access to this URL:</p>

<pre><code>dialog/campany/mail/fid/setting/new
</code></pre>

<p>but they can by remplacing <code>sms</code> by <code>mail</code>.</p>