Answered
Limit access by IP address
I'm writing a program as an add-on to our helpdesk where only
certain IP ranges need to be able to see a link to get to this area
that is being made. It's a laptop checkout system, and only people
in the main two buildings need to be able to see it, as they're the
only ones who can check them out.
I've been trying the cgi.remote_addr command inside a cfif statement to try and accomplish this, but I just can't seem to get it to work. This is essentially what it looks like right now
iprange1 is the ip range for the first building, and iprange2 is for the second, they aren't variables but are typed as 1.1.1.* with the correct numbers.
If anyone can shed some light on this I would be very appreciative, Thank you.
I've been trying the cgi.remote_addr command inside a cfif statement to try and accomplish this, but I just can't seem to get it to work. This is essentially what it looks like right now
iprange1 is the ip range for the first building, and iprange2 is for the second, they aren't variables but are typed as 1.1.1.* with the correct numbers.
If anyone can shed some light on this I would be very appreciative, Thank you.
