Kayako logo
Modifications & Addon Releases Modification guides and addons are posted here to share with the community. Do not post requests in here!

Notices

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
joggx Offline
New Member
 
Posts: 28
Join Date: Jun 2005
Login restriction by IP - 16-10-2007, 06:16 AM

Hi,

Is it possible to restrict staff login by IP? ie. only allow login from legitimate IP.

Thanks
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,394
Join Date: Jun 2005
Location: Cumbria, UK
16-10-2007, 08:54 AM

Open /staff/index.php.

Right below "//=======================================", paste the following :-
Code:
if (!in_array($_SERVER['REMOTE_ADDR'], array('127.0.0.1', '255.255.255.255'))) { die(); }
Change the IPs to your own. Any other IPs will only be shown a blank screen.

You can do the same for admin too.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
joggx Offline
New Member
 
Posts: 28
Join Date: Jun 2005
01-11-2007, 02:21 AM

The /staff/index.php contains the following comment:

!This is not a text file!

And I can't find string "//=======================================" you mentioned.

Thanks.
   
Reply With Quote
  (#4) Old
joggx Offline
New Member
 
Posts: 28
Join Date: Jun 2005
01-11-2007, 03:00 AM

And how can I only allow access from a group of IP address using subnet mask or wildcard?
   
Reply With Quote
  (#5) Old
craigbrass Offline
Senior Member
 
Posts: 5,394
Join Date: Jun 2005
Location: Cumbria, UK
01-11-2007, 10:30 AM

In which case you have the encoded version. Please request the unencoded file by emailing Jamie (jamie.edwards <!at!> kayako.com).


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#6) Old
jnet Offline
Member
 
Posts: 511
Join Date: Mar 2008
25-06-2008, 04:47 PM

two things I just want to ban people from their IPS

and other thing I want to stop registration through proxis
and one more thang I want to rescrict my access to my IP
and I want....

so many things I want but wont get them
I know it is not easy
   
Reply With Quote
Reply

Tags
restriction

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Create links in ticket emails that auto login and go to the ticket khoffman Modifications & Addon Releases 41 11-04-2008 03:04 AM
Staff Login Issue DragonZ SupportSuite, eSupport and LiveResponse 10 09-09-2007 06:42 PM
New Login Method craigbrass Wont Implement / Already Implemented 2 10-08-2007 11:41 AM
How do I move the login jfreyburger SupportSuite, eSupport and LiveResponse 0 09-08-2006 03:14 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46