asp.net forbid a folder route
<p>I have an asp.net/c# website. I don't want users reach www.example.com/uploads folder like :</p>

<p><img src="http://i.stack.imgur.com/325Up.png" alt="enter image description here"> </p>

<p>I tried this in web.config :</p>

<pre><code> &lt;location path="uploads"&gt;
&lt;system.web&gt;
  &lt;authorization&gt;

    &lt;deny users="*"/&gt;
  &lt;/authorization&gt;
&lt;/system.web&gt;
</code></pre>

<p></p>

<p>But it forbids all the files under uploads folder.Users can reach the files but I don't want users see the list of that files. What should I do about this?</p>
