I have a script that sends key=value pairs in the url to another script. My
sysadmin has informed me (and showed me) how unsafe it is to do this for
this particular script. When this second script is run, it grabs a
parameter out from the url (via CGI.pm). This parameter is the path to a
pdf document that it then prints out to the web browser. In trying to fix
this, I used Crypt::CBC and Digest::MD5 to add a higher level of security.
The second script decrypts the path just fine. Here is the problem. IE
doesn't like having so many characters in the url. So, even thought my
script decrypts the url and opens the file AND prints out the binary data,
the browser won't display it.
I do know it is the browser not liking the length of the url. Some testing
on my part confirmed it. Does anybody have any suggestions how I can
encrypt the data and it won't be too long? And, has anyone ran across this
before??
many thanks,
byron wise
"When you sell a man a book, you don't sell him 12 ounces of paper and ink
and glue - you sell him a whole new life." - Christopher Morley
"Thanks O'REILLY." - Me
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users