Previous Page TOC Next Page

Internet Security and Secure Servers

This is a general overview of the type of security available, encrypted message exchange, and a sample use of public key encryption.

Internet Security Services

Secure systems on an open network rely on encryption and authentication to provide transaction security.

Secure servers, such as your Purveyor Encrypt WebServer, support both secure and standard Web transactions.

Internet Security actually consists of three distinct services: access security, transaction security, and authentication.

Access Security

Access security refers to a corporation's ability to protect its computers, memory, disk, printers and other computing equipment from unauthorized use. Commonly referred to as access controls, this type of security allows you to control user access to files and directories.

The Purveyor Encrypt WebServer family provides access control to files and directories via its access control options.

Transaction Security

The Secure Socket Layer (SSL) is a protocol for transaction security on the World Wide Web.

Transaction security or communications security refers to the ability of two entities on the Internet to conduct a transaction privately, and with authentication and digital signatures if required. Commerce on the Internet and the World Wide Web fundamentally depends on transaction security.

Authentication

Authentication is the process of verifying the identity of someone or something. For example, authentication can ensure the identity of parties on each end of a communication.

Authentication techniques require that a person or program prove its identity, usually by using a password, key card, fingerprints, or a "digital" signature. Whichever is used, it must be unique to only that person.

Authentication techniques can be quite simple, very complex, or somewhere in-between. The traditional use of passwords or pass phrases is a middle of the road example of an authentication method.

What is SSL?

The Secure Socket Layer (SSL) protocol provides transaction security between two communicating applications (a browser and server). The protocol authenticates the server and, optionally, the browser.

SSL can layer on top of any transport protocol, such as TCP/IP, but SSL is not TCP/IP dependent. SSL runs under application protocols such as HTTP and FTP.

TCP/IP is the communications protocol for most Internet applications, such as e-mail, Netnews, and the Web. TCP/IP provides reliable transport between two parties on the Internet.

With SSL, security properties are attached to the link or channel of communication between two parties, not to the documents themselves.

An SSL server:

SSL makes the channel between a browser and a server:

SSL Approach to Security

SSL mandates the channel of communication between two parties as private and authenticated and encrypts the entire data stream between the browser and server. There is no negotiation between browsers and servers concerning applying security characteristics to individual documents.

Relative Advantages of SSL

SSL provides for private communications. SSL with HTTP can include usernames and passwords in encrypted messages for authentication purposes.

Because SSL and HTTP use different port numbers (443 and 80 respectively, by default), your Purveyor Encrypt WebServer can handle secure and standard browsers simultaneously. This means that the server provides some browsers unencrypted information and others with encrypted information. You can identify SSL by a URL that begins with https://. Some browsers display security icons that indicate whether a transaction is secure.

Transaction Security on an Open Network

Secure systems on an open network rely on encryption, authentication, and integrity support to provide transaction security. Encryption ensures against eavesdroppers, authentication ensures against impostors, and integrity ensures against modified messages.

Encryption Support

Encryption transforms data into a form that can be read only by persons who have a key to decrypt the data. Encryption ensures privacy by keeping information hidden from anyone for whom the information is not intended.

For example, the Widget Works company might have an opportunity to provide super widgets for a large trade show and wants to submit a bid over the public network. Widget Works also wants to hide this information from any rivals. The company decides to use encryption. Figure 32 shows what happens.

  • Widget Works encrypts the plaintext information with a private/public key then sends the encrypted message (ciphertext) to the trade show organizers.
  • The trade show organizers use a private/public key associated with Widget Works’ key to decrypt the message into a plaintext, readable form.

Figure 32 Data Encryption


Undisplayed Graphic

Authentication

The Purveyor Encrypt WebServer provides extended access control to files and directories on the server. The Remote Server Management (RSM) features let you set encryption requirements to access files and directories. The WebServer also verifies the integrity of digitally signed documents (usually queries) when it receives them.

Authentication takes place by using agreed-upon keys to generate and verify the message digest. The message digest consists of summary information that is transmitted with the message and is uniquely derived from the message contents. The WebServer uses the:

  • RSA Digital Signature algorithm
  • MD2 and MD Message Digest algorithms
  • RC2 and RC4 Encryption algorithms

Authentication lets the receiver of a message verify that the sender is indeed who they purport to be. Using a digital signature is one method of authentication.

A digital signature is a unique group of random pieces of data. A digital signature serves as a signature for an electronic message in the same way that a handwritten signature serves as a signature for a printed message.

An authentication system consists of two parts, providing a method to:

  1. Apply a unique, unforgeable digital signature to a message.
  2. Verify the authenticity of a digital signature that has been applied to a message.

Digital signatures can be neither forged nor repudiated. Anyone applying their digital signature to a message cannot later disown it by claiming forgery.

Types of Key Encryption under SSL

SSL uses X.509 certificates for authentication, RSA as its public-key cipher, and one of RC4-128, RC2-128, or DES as its bulk symmetric cipher.

The Purveyor Encrypt WebServer provides for the management of multiple keys. The server stores keys locally and they are accessible with a user-specified password.

On some client systems, you can select from keys of the appropriate type for a given transaction.

Sample Use of Public Key Encryption

In public-key systems, each party has a key pair; a public key and an associated private key. The owner of a key pair distributes the public key to any sender that wants to communicate with the owner. However, the owner keeps the private key absolutely secret.

The sender of a message uses the receiver’s public key to encrypt the message (Figure 33). The receiver uses the private key to decrypt the message.

For example, Widget Works wants to let customers use their credit card numbers to order products over the Web. They want their customers to know that no one else can read the credit card information. To accomplish this, Widget Works generates a public and private key pair. The public key is made known, but Widget Works stores the encrypted private key only on its system.

Figure 33 Using Public Key Encryption


Undisplayed Graphic

In public-key systems, users share only half of the encryption mechanism (the public key) among the parties to a communication. The private key never leaves the possession of its owner. Neither key is of any value without the other.

Encrypted Message Exchange

Encryption protects against eavesdroppers and impostors. The server encrypts messages sent to a browser and decrypts messages sent from a browser.

With public key encryption, you can exchange encrypted messages in both directions between server and client. There is no need for a browser public key.

Key Requirements

Data is encrypted with session key. The session key is in turn encrypted with public key cryptography for transmission.

Security Related Functions

A secure server can support a number of functions including:

  • Private Key Management
  • Encryption and Signature Control
  • Public Key Certification Generation
  • Security-related CGI Environment Variables

Private Key Management

Purveyor supports the use of one private key per virtual server. You store this private key and its matching public key on the local machine. You provide key security by encrypting the server’s private key using a Webmaster or system administrator-specified password.

Public Key Certification Generation

You can use an SSL compatible secure browser or a program provided with a secure server to generate the public/private key pair and initiate the corresponding public key certificate process (see Figure 34). An RSA public key can be from 512 to 1024 bits long.

Figure 34 Public/Private Key Generation


Undisplayed Graphic

Encryption and Signature Control

Local security configuration files and CGI programs generate secure message headers. They also configure the server to specify the encryption properties required for a query response.

Security-Related CGI Environment Variables

There are several SSL security-related CGI environment variables. These allow application developers to integrate a secure server, such as Purveyor, with their CGI programs. These variables let the CGI programs learn:

  • The encryption status of the incoming request, such as signed and encrypted, signed, encrypted, or none
  • The identity of the signer, if available
  • The encryption status of the request
  • The Distinguished Name of the virtual server certificate of the virtual server that received the query
  • The Distinguished Name of the signer of the certificate

A Distinguished Name is a collection of attributes (country, state, company name, etc.) assigned to an entity for use in electronic commercial applications. The term is originally defined in the CCITT X.500 protocol.

Part III contains information specific to installing and managing your Purveyor Encrypt WebServer for OpenVMS. The chapters included in this part are

  • Installing, Configuring, and Starting Your Server
  • Remote Server Management
  • Setting Up a Home Page
  • Purveyor Management Tips
  • Purveyor Security: Access Control
  • Advanced Configuration

Previous Page Page Top TOC Next Page