how i can protect folder which includes uploaded files?
<p>how i can protect folder which includes uploaded files?  </p>

<p>i have folder include all files which uploaded by me, i want if user try to change url or pass  to show all files, browser redirect him to another page like this example</p>

<p>www.tet.php/folder/text.doc</p>

<p>if user try to write (www.tet.php/folder) to show all files redirect him automatically to www.tet.php</p>

<p>or any one please tell me tricky way to disappear  /folder/ </p>
