Jump to content

Recommended Posts

Posted

Hi,

I would like to allow only define ip address to my site. For that, i would

like to make IP address white list. I found the only blacklist option in

cpanel.

 

Can you please help me, how to make white list?

 

Thanks!

Posted

You can do this with a .htaccess file placed in your public_html folder (or in whatever folders you wish to protect).

 

Take a look at a discussion such as https://stackoverflow.com/questions/4400154/deny-all-allow-only-one-ip-through-htaccess (just add an extra allow statement for each IP address you wish to whitelist). Everybody not expressly allowed will get a 403 Forbidden error instead.

Posted

Hi,

Thank you, It worked :)

 

On Thu, Sep 14, 2017 at 1:58 PM, Heliohost Support

wrote:

 

> You can do this with a .htaccess file placed in your public_html folder

> (or in whatever folders you wish to protect).

>

> Take a look at a discussion such as https://stackoverflow.com/

> questions/4400154/deny-all-allow-only-one-ip-through-htaccess (just add

> an extra allow statement for each IP address you wish to whitelist).

> Everybody not expressly allowed will get a 403 Forbidden error instead.

>

> You may view the status of your ticket by visiting:

>

> https://www.helionet.org/index/index.php?showtopic)710

>

> Thank you,

> Heliohost support

> https://www.heliohost.org/

> https://www.helionet.org/

>

>

Guest
This topic is now closed to further replies.
×
×
  • Create New...