byron wise wrote:
> 
> 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??

Maybe you could use POST method instead of GET ?

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.todbe.com/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to