Hi,
I guess /path/to/linuxfolder is your docroot. If that's the case, you can use mod_rewrite in a .htaccess file in docroot, like this:
Code:
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/admin
RewriteCond %{REMOTE_HOST} !^109.150.55
RewriteRule (.*) - [F]
If you want to allow saccess to pecific hosts and not to the whole subnet, you can replace the 2nd RewriteCond with this
Code:
RewriteCond %{REMOTE_HOST} !^109.150.55.1
RewriteCond %{REMOTE_HOST} !^109.150.55.2
and so on
Regards