Secure Connections

One of the most common uses of Web applications is in electronic commerce. You can use CGI programs to enable people to manage their bank account, shop in an online mall, or donate to their favorite charity. One sticking point that users run into is that, by default, information sent via the Internet is not secure—if someone happens to intercept a message that you send to a friend, he can simply open it and read it. Imagine if that message contained your credit card numbers or other private information that you wouldn’t want others to see.

Fortunately, many Web servers and Web browsers have the capability to create secure connections so that they can communicate privately. This enables your users to send sensitive data to ...

Get Sams Teach Yourself CGI in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.