Secure server CGI

Hi

Does data need to be encrypted when sending it to a CGI script on a secure server? If not why not? If so why so?

Thanks

Matth
LVL 3
matth012098Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jhanceCommented:
If you are sending data to a CGI script as a part of a secure connection, your CGI script will not see the encrypted data.  The only part of the connection that is encrypted is the Browser <-> HTTPS Server link.  Before the HTTPS server passes data to your CGI program, it will decrypt the data.  Before sending output from the CGI program back to the browser, it will encrypt it.  Be aware that if you are using a secure server to collect data from a user and using a CGI program to store the data in a file or database, that a weak part of your security might be the file or database.  While the transmission itself might be secure, the server storage is plaintext.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.