Wrox Home  
Search P2P Archive for: Go

  Return to Index  

security_asp thread: ASP Page Security with Cgi Perl Script


Message #1 by "Thomas Huynh" <projectengineer@u...> on Thu, 7 Jun 2001 15:44:35
My situation:

1.  Create a login page
2.  Verify login & password https://faculty-staff.ou.edu/cgi-bin/verify.pl?
username=<@ARG 
uname>&password=<@ARG 
pword>USERAGENT=Ta0000



The link they send to me as this: (do I need the password & login included 
in the GET function?)

https://faculty-staff.ou.edu/cgi-bin/verify.pl?username=<@ARG 

uname>&password=<@ARG 
pword>USERAGENT=Ta0000

I have tried this:

3. Test page by going to http://<webserver>/<directory>/login.html

<HTML>
<HEAD>
<TITLE>Login</TITLE>
</HEAD>
<BODY>
<p>
<form action="http://faculty-staff.ou.edu/cgi-bin/verify.pl" method="get">
User Name: <input type="text" name="username" size=32><br>
Password: <input type="password" name="password" size=32><br>
<input type="submit" value="Submit">
</form>
</p>
</BODY>
</HTML>
***It doesn't work since we need to pass the login & password through the 
CGI.  If I keep it in the form, it won't work.***

4.  This is how it looks in Coldfusion:
<cfhttp url="http://faculty-staff.ou.edu/cgi-bin/verify.pl?
username=#form.username#&
password=#URLEncodedFormat(form.password)#" method="GET" 
resolveurl="false">

Can you help?

  Return to Index