IP fencing

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
bobt
Posts: 9
Joined: Mon Mar 11, 2024 1:14 am

IP fencing

Post by bobt »

What terms did you try when SEARCHING for a solution: IP fencing, IP whitelisting

Write your message below:

Is there any way to limit staff access to Hesk so that they can only login from a static IP address (i.e. within customer's work environment?)
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: IP fencing

Post by Klemen »

That's not something that can be done within Hesk, but should be possible to set up using your web server (you can use htaccess for example in Apache to restrict access to the admin folder).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
bobt
Posts: 9
Joined: Mon Mar 11, 2024 1:14 am

Re: IP fencing

Post by bobt »

what would the code for this look like, is there an example you can share?
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: IP fencing

Post by Klemen »

For an Apache server:
https://www.google.com/search?q=htaccess+allow+deny+ip

If you don't have Apache, try a similar search on Google for your server type.

Again, this is not something that can be set up from within Hesk, it is a server-side configuration.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
shadedk
Posts: 35
Joined: Fri Aug 07, 2020 1:17 pm

Re: IP fencing

Post by shadedk »

If you use NGINX as a web server you can add:

location /where_hesk_is_installed/ {
allow 192.168.0.0/24;
deny all;
}

Change 192.168.0.0 to your internal network, add more allow lines for several networks.
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: IP fencing

Post by Klemen »

Great, thanks for sharing NGINX configuration!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply