Can I do this with htaccess somehow, maybe enable only my php scripts to have access to that folders?
![]() | It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!) |

|
|
|
|
Moderator: Malcolm

Order Deny,Allow
Deny from all
Allow from 127.0.0.1
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ [F] //To simply block access
//OR
RewriteRule \.(gif|jpg)$ http://www.mydomain.com/angryman.gif [R,L] // To send a different image in its place! Users browsing this forum: No registered users and 0 guests