in reply to Encrypt Data

Sorry, you're a little short on details. Are you trying to encrypt the data on the filesystem? From the browser to the server? Within the process?

I'm assuming you just want the data (say, a credit card number) encrypted from the browser. If that's the case, the easiest solution is not a Perl solution at all... use HTTPS. Mod_ssl works quite well. Install it, and then force an SSLRequireSSL directive on the script/page/directory using Apache.

Hope this helps.

-fp

Replies are listed 'Best First'.
Re: Re: Encrypt Data
by peacemaker1820 (Pilgrim) on Feb 18, 2003 at 17:14 UTC
    Yes you got it that's exactly what i am trying to do. Sorry, for my short info. I didn't quiet get what you wrote. Can you please include a more thorough explanation.
    Thank you.
      Install mod_ssl on your Apache webserver. Configure the directory that your script is in to use SSL with the SSLRequireSSL directive. Here is a sample block from my server:
      <Directory "/var/www/perl"> Options FollowSymLinks AllowOverride All SSLRequireSSL Order allow,deny Allow from all AuthType Basic AuthName "Sample encrypted stuff" AuthUserFile conf/users Require valid-user </Directory>
      As you can see, I'm using basic (plaintext) authentication using the htpasswd utility and password file. Hope this helps.

      -fp
        I am not on Apache, I am using Microsoft's IIS. I am running Windows NT server, and i am not using any htpasswd or passoword files as you mentioned. Is it the same for IIS?
        Also mod_ssl i should install it through MSDOS as such ppm install mod_ssl but i need to have a mod_ssl.pm file. Right?

        Thanks a lot, appreciate very much.