htaccess PHP deny direct url request to files in specific folder
Posted
by Garbit
on Stack Overflow
See other posts from Stack Overflow
or by Garbit
Published on 2010-03-23T21:10:29Z
Indexed on
2010/03/23
21:13 UTC
Read the original article
Hit count: 282
Hi there just wondering;
How do i deny direct access to files in a specific folder. I have an upload script that uploads to /uploadedFiles and currently i just have an index.php which redirects the user to the login page however how do i stop users from accessing a file directly such as;
www.myurl.com/uploadedFiles/thisFile.jpeg
Thanks in advance :)
© Stack Overflow or respective owner