The script needs to do exactly what im trying to do below, but the URL should not be visible to the users as soon as the request is made to the script it should make the request like the image tag but the url should be not viewable.
Security is the main issue here.
If anyone can make such a script, please give me a responable quote.
Or any suggestions would be very much appreciated
Cheers
Linda
#!/usr/bin/perl
use CGI;
my $query = new CGI;
my $email = $query->param('email');
print "Content-type: text/html\n\n";
print "<img src=\"http://username:password@myprotectedomain.com/process.cgi?$email\" height=1 width=1>";
this command adds a mailbox called linda with the password of pass. I can easily get the value of password and mailbox using simple form value request methos.
However, the control panel domain is password protected using .htaccess, so for me to execute that command i have to use [user:password@control.myhost.com...] but like i said in my previous post, this is not secure, i need something that will hide all this from the users.
I hope this explains it
cheers
linda
I will lookup on it, one quick question though, by encrypting the username and password, i assume i will end up accessing the url like this encryptedusername:encryptedpassword@controlpanel.myhost.com is that correct, if so, how secure is the encrypted username and password, can malicous users not directly enter it?
thanx again
cheers
linda
Shawn
The code initiates a HTTP request to my protected area with the right credentials and queries the protected url by the server side by Perl's means.