Form mail security

What is the best way to handle sensitive information within a form on my site (linux hosting).  Is there a way of encrypting the data?
chadaortAsked:
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.

almilyoCommented:
You should host the page on an SSL site to make sure that any form data submitted is encrypted whilst being transfered from the users pc to your server.

You do this when setting up the website (so the address of the page starts http rather than https  , not when writing the form processing code in php.
0
Loganathan NatarajanLAMP DeveloperCommented:
you might write your own encryption & decryption algorithm and pass the information...
0
scrathcyboyCommented:
The only problem with "sensitive" info is having it appear in the HTML page, where everyone can see it.  You make a FORM in a standard HTML page for user input, this FORM submits to a PHP page, which takes the POST input, and processes it on the server.  Any PHP page on the server cannot be seen by the user, all sensitive info in it is not visible to the user.  Then the PHP processes the form input, matches it up to the sensitive data, and if it is logins and passwords, for example, the PHP can send an email or whatever you want to do without any further interaction from the user.  All you need to do from the PHP pages is to tell the user -- Hey your actions were approved -- or something like that.  Form input and server side processing of a form to do something, like an order or an email, typically takes several PHP pages, it is the best / fastest.
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
PHP

From novice to tech pro — start learning today.