Using encryption to secure sensitive data

Using encryption to secure sensitive data

John Stewart and Dave Kensiski


There are two major flavors of data encryption – private key (aka symmetrical) and public key (aka asymmetrical) encryption systems. The distinction between the two is in key management. In private key systems, both ends share a common key that is used to both encrypt and decrypt the data. In public key systems, you encrypt the data with one key and decrypt it with another. This makes key management much easier and explains why public key systems tend to be the methods of choice.

Commonly used public key systems include PGP (Pretty Good Privacy), SSH (Secure Shell) and SSL (Secure Sockets Layer). SSL is used by browsers when they connect to a secure server. SSH is typically used for interactive logins and batch file transfer. PGP is typically used for encrypting data for storage or transit across public networks.

Then there's the issue of pushing versus pulling the data. If you are trying to get data from outside to behind the firewall, pushing it can be dangerous. This is because pushing requires a relationship where the machine inside trusts a machine outside – typically an undesirable situation. The alternative is pulling the data from within. This reverses the trust relationship to a more desirable situation, but suffers in spontaneity – you need a batch process to initiate the pull and it won't know when data is ready to be pulled.

VPNs and SSH with command limiting can be used to design solutions that allow pushes.

    Requires Free Membership to View

    SearchSecurity.com members gain immediate and unlimited access to breaking industry news, virus alerts, new hacker threats, highly focused security newsletters, and more -- all at no cost. Join me on SearchSecurity.com today!

    Michael S. Mimoso, Editorial Director

    By submitting your registration information to SearchSecurity.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSecurity.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

John Stewart, IT consultant and Dave Kensiski, engineering development manager for Cable & Wireless, are also SANS Institute instructors. Content from this tip was extracted from their SANS instruction manual on "Web Site Security."

This was first published in July 2002

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.