| Folder protection for php [message #1703] |
Fri, 19 February 2010 11:37  |
jsweb Messages: 1 Registered: February 2010 |
|
|
|
Morning all (it's a sunny Friday here in Ireland 
We are using an editor (FckEditor) which has a function to allow you to UPLOAD files to a set folder e.g. /images/
This folder needs to be 777 to allow the fckeditor to browse it and upload images.
However, want to add a .htaccess file into that folder so that via a URL to that folder http://www.domain.com/images/ that any .php files cannot be run.
If we add a standard:
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
It stops the fckeditor browser working (which we still want to allow)....
We're a bit stuck and any suggestions would be appreciated.
Thanks
|
|
|
|