Deny Admin interface access from the Internet

Hello,

I would like to allow access to Admin interface only for local users. I think it could be a good idea from the security point of view to have the option to deny access to users from the Internet. I have tried using <Directory> directives for this directory only and also .htaccess file but it tries to rewrite URL to FQDN and after the login page it denies access from local access also.
What should I do? Any suggestion would be greatly appreciated. Regards

Hello viorel,

on a first glance, I would make it to a problem of the server firewall…

rgds

Hello Marco,

thank you very much for your response. The firewall has been configured from the beginning. I am a little bit concerned seeing the apache error.log. I think there are scripts trying to randomly access directories like ‘downloads’, ‘css’ etc. including ‘admin’. Having backend access only from the local network I feel it would be more safely than letting others having at least an idea about the system in use.
Regards,

Hi Sean,

if you afraid about unauthorized requests, maybe the best is to install .htaccess files where possible :wink:

Cheers