S
Sean Berry
I am fairly new to Perl, doing most of my stuff in Python.
But, I really like Perl's CGI capabilities.
I have a Perl CGI program that I am running that I would like to be
extremely secure. It will require a password, using htaccess. But, I would
also like to limit it to computers on our network as well as a few
individual IP addresses.
I thought of setting up an array of acceptable IP addresses and checking
whether the requesting IP address is in the array. Let them through if they
are. Boot them if they are not.
How can I do this? How can I harvest the IP address of the reuqesting
computer?
Thanks in advance.
But, I really like Perl's CGI capabilities.
I have a Perl CGI program that I am running that I would like to be
extremely secure. It will require a password, using htaccess. But, I would
also like to limit it to computers on our network as well as a few
individual IP addresses.
I thought of setting up an array of acceptable IP addresses and checking
whether the requesting IP address is in the array. Let them through if they
are. Boot them if they are not.
How can I do this? How can I harvest the IP address of the reuqesting
computer?
Thanks in advance.