HelioHost Posted September 14, 2017 Posted September 14, 2017 Hi,I would like to allow only define ip address to my site. For that, i wouldlike to make IP address white list. I found the only blacklist option incpanel. Can you please help me, how to make white list? Thanks!
wolstech Posted September 14, 2017 Posted September 14, 2017 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.
HelioHost Posted September 14, 2017 Author Posted September 14, 2017 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/>>
Recommended Posts