Locking URLS/Commands/scripts to specific IPs

Discussion in 'Security and Legal' started by Michael, Oct 3, 2009.

  1. Michael

    Michael Regular Member

    Joined:
    Jan 18, 2004
    Messages:
    166
    Likes Received:
    35
    I was wondering if there is a way to prevent any running certain scripts on your site unless their IP matches one set somewhere, has anyone heard of this before? If so, can you tell me how to implement this :D

    What I am wanting to prevent is the dokill script when deleting forums from being ran by anyone other than our own IP address, not sure if this is possible or even worth implementing if it is but it would be nice to hear some insight on this :)

    Thanks!

    EDIT: I would like to mention I know htaccess can provide this sort of thing but for whole folders, but im unsure about certain scripts/commands.
     
  2. Ak Worm

    Ak Worm Grand Master

    Joined:
    May 22, 2009
    Messages:
    979
    Likes Received:
    20
    First Name:
    Corey
    Looking to see Wayne's reply :)
     

Share This Page