How to hide admin panel .htaccess?

Does anyone know the .htaccess code to block all other ip addresses from accessing /administration folder except my own ip address?

 

For example if anyone of a different ip address tries to access the administration folder they get a 403 document.

Quote · 8 Sep 2015
Order deny,allow
Deny from all
Allow from [IP address]
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 8 Sep 2015

hello, many years after this post and still there is no on the nail  answer..

where and how exactly do you add this?

been searching weeks now

Creative Progressive Progression
Quote · 3 Sep 2019

First of all, realise that .htaccess is only for Apache; so if you are running Nginx, it is done differently.

The way .htaccess works is that it will be applied to the directory it is placed in and any subdirectories of that directory.  In this case, you would place the file in the /administration directory.

Geeks, making the world a better place
Quote · 4 Sep 2019
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.