1. This sub-forum relates to Kayako 3, which is now end-of-life. Please be aware that a lot of information relating to features, sales and the roadmap in the Kayako 3 forums is now outdated or defunct (no longer applicable).

    If unsure about anything, please create a new thread or contact us.

    You can visit the main forums for the latest Kayako here.

Login restriction by IP

Discussion in 'Modifications, extensions and addons' started by joggx, Oct 16, 2007.

  1. joggx

    joggx Member


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

  2. craigbrass

    craigbrass New Member

    Open /staff/index.php.

    Right below "//=======================================", paste the following :-
    if (!in_array($_SERVER['REMOTE_ADDR'], array('', ''))) { 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.
  3. joggx

    joggx Member

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

    !This is not a text file!

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

  4. joggx

    joggx Member

    And how can I only allow access from a group of IP address using subnet mask or wildcard?
  5. craigbrass

    craigbrass New Member

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

    jnet New Member

    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

Share This Page