Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-06-03 09:18:56

mailu...@gmail.com
Guest

IP-based access restriction to admin panel

Hello Remigijus,

First of all, thank you for such a great open source project!

We'd like to know, are there any IP access restrictions exist for admin web panel.
As clients and managers use same index.php, we can't implement access restrictions on web server level.

Thank you in advance!


https://groups.google.com/forum/#!topic … JQNQ9Fa1jo

#2 2014-06-03 09:43:50

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: IP-based access restriction to admin panel

Hi,

At the moment there are'nt. But you can try to add ip check for all url addresses containing. site_admin part in url

Offline

#3 2014-06-03 10:19:20

mailu...@gmail.com
Guest

Re: IP-based access restriction to admin panel

Thank you very much for the trick. I'll try to implement it using mod_rewrite.

On Tuesday, June 3, 2014 12:43:50 PM UTC+5, Remigijus Kiminas wrote:Hi,

At the moment there are'nt. But you can try to add ip check for all url addresses containing. site_admin part in url

#4 2014-06-03 10:59:50

mailu...@gmail.com
Guest

Re: IP-based access restriction to admin panel

I've achieved the aim using mod_rewrite. Sample .htaccess content located in same directory where index.php:

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/onlinechat/index\.php/site_admin
RewriteCond %{REMOTE_ADDR} !^192\.168\.1\.
RewriteRule .* - [F]

Thank you Remigijus!

Board footer