Quote:
Originally Posted by MaFtuk
nobody any ideas?!
|
Hi,
To restrict access to a particular file within a directory, use this in the .htaccess:
Any of the above techniques can be applied to a single file within the host directory instead of the directory as a whole.
<Files script.php>
order deny,allow
deny from all
allow from domain1.com
allow from domain2.com
allow from xx.xx.xx.xx
allow from yy.yy.yy.yy
</Files>
The above code will
allow access only to the specified allow from hosts, to the file script.php. Additional file names can be specified, separated by commas; alternatively wildcards can be used to specify multiple files, eg: <Files *> would affect all the files in the directory.
You can download
Page Guard Pro if you want to log all events containing authorized & unauthorized logins by IP Address, requested URI & along with more information.. from a web browser interface