Systems-Go logo

Web Site Security

Contents

Introduction

Objective

Terms

Scope

Document Organisation

Web Site Security - An Introduction

Security Features or Attributes

Web Site Types by Usage

When to Use What Security Features

Access Control

Secure Connection

Site Authentication

Introduction

Objective

This document explains Web Site security from the perspective of controlling user access and protecting content. After reading this, you should understand what level of security that you need and what Plans offer these features.

Terms

In any document related to the Web or Computing, there are likely to be terms that need to be explained. They are explained here.

Authentication
The process of proving the identity of a user or system.
Client
Referrs here to the user component of software that uses the Client/Server computing model.
Client/Server
A computing model in which the task is performed by several software components that reside on (usually) different computers. The Client software is used by the user on his/her computer and communicates with the Server software on another computer (Two Tier). It is also common to have Three Tier, where the Server software contains Client software to communicate with another Server (often a database). In this way the program functionality is broken up roughly along the lines of providing presentation services in the Client, business rules and logic in the Server and storing information in the database.
Command Line
A terminal session with your operating system's Shell. On microsoft operating systems it is called a "DOS Prompt" or "Command Prompt". In Unix operating systems, it is called a "Shell" and there are several choices with different functionality.
Direct Credit
Making a payment by directing your financial institution to make a payment directly to System-Go's bank account.
Domain Name
A term used to describe the naming convention for computers on the Internet. eg. "www.systems-go.com.au".

A Domain Name is constructed of multiple parts, each separated by a "." (period). Using the example above and working from right to left, the right-most part ".au" is the country code. Each country has its own code, but the United States does not have to use its country code for historical reasons. The next part ".com" indicates an organisation type or user category, in this case "commercial" (some other types are; ".gov" government, ".edu" educational organisations). Again for historical reasons, these are called Top Level Domains (TLDs). The next part of the Domain Name "systems-go" is a name registered to a particular organisation or company, in this case to Systems-Go IT Solutions. The left-most part is the name of the computer or service, in this case "www". There can be other Subdomains between these last two parts.

Encryption
A process where plain text or data is passed through a permutation algorithm, combining it with an Encryption Key to produce output data that is not able to be deciphered and needs to be unencryped to recover the original text or data. This means that the encrypted data is protected from being divulged or altered in transit. There are other forms of encryption, but they are beyond the scope of this document.
Encryption Key
Is the "shared secret" between the encryptor and the decryptor that enables the encrypted data to be unencrypted at the destination.
FTP
File Transfer Protocol. When used as a verb, it implies using a FTP Client software to copy files from a local computer to a distant one that provides an FTP Server.
HTML
Hypertext Markup Language. A specification for describing the content and layout of a Web Page. The specification describes a language made up of plain text with Tags that provide identification of the document components and provide special procesing instructions. You can see the HTML that makes up a page by selecting "View-->Source" from your Browser menu.
HTML Tags
The Tags are the language elements of HTML and are represented by angle brackets surrounding the Tag name and options. Almost all Tag types have a start tag and an end Tag. eg. <p>This is the text between a paragraph start and end Tag.</p>.
HTTP
Hypertext Transport Protocol. The protocol used between a Web Browser and a Web Server to request and receive Web Pages.
Intranet
A Web Site that is only accessable from within the organisation.
Key Exchange
A process whereby Encryption Keys are securely exchanged over a network. A more detailed explanation is beyond the scope of this document.
LAN
Local Area Network. A network that links computers in a local area, such as a building or office. In large organisations, the LANs in multiple offices are often interconnected via a WAN, such that communication among the offices is ubiquitous. Common usage referrs only to the LAN as existing in all offices.
MS
When used in conjunction with a product or software is an abbreviation for Microsoft.
Password
Is a "shared secret" between the user and a computer system that, in conjunction with a UserID, allows the user to Authenticate their access.
Proxy Server
A Server which receives your Web Page request and checks to see if it already has the Web Page in local storage before fetching it from the Web Server and Caching it in local storage. The Web Page you have requested is delivered from the Proxy Server.
Server
As the context requires, this term may be a synonym for a computer that provides network services to users, or it may refer to the software component on the computer that provides the service and requires a conforming Client software (also see Client/Server).
SSL
Secure Sockets Layer. A standard communications protocol that provides encryption of the information sent over the network. SSL is supported in a range of network applications including Some Web Browsers and Secure Web Servers.
Subdomain
A term describing the part(s) of a Domain Name between the organisation name and the computer name. eg. "mail.mlb.systems-go.com.au" where ".mlb" is a Subdomain of "systems-go".
UserID
A one word name used to identify a user to a computer system. A UserID is usually not secret and may be constructed according to a particular rule-of-thumb specific to an organisation. It is usually made up from alphabetic, numeric and a small subset of symbol characters.
Virtual Private Network
This is the term given to the interconnection between systems or LANs in different geographys to form a private network, over a public network (such as the Internet), but using technologies that protect the private network from access by others who share the public network. Such a Virtual Private Network may be Encrypted or not depending on the technology and the desired level of security.
WAN
Wide Area Network. A network that connects computers or other more localised networks such as LANs. Generally, any network that interconnects distant buildings is called a WAN, however the term MAN (Metropolitan Area Network) can also be given to certain specific network technologies that span a city.
Web Page
The content of a single HTML file (with associated graphics files). Accessed using a URL (or URI) and displayed in one Web Browser window. An exception to this occurs when using Frames, where the content of each Frame will be a single HTML file.
Web Site
A computer, connected to the Internet and serving Web Pages using the HTTP protocol.
WYSIWYG
What You See Is What You Get. Referrs to being able to edit in a view that looks identical to the view seen in a Browser. Note that different browsers render Web Pages slightly differently, so you can never have true WYSIWYG in the Web world.

Scope

This document covers limiting user access to the content or part of the content of a Web Site and the security required for Ecommerce. It does not cover the topic of guarding against hacks and attacks (relevant only to the service provider). Explanations of Encryption and Key Exchange are also beyond the scope of this document.

Document Organisation

To assist with easy use of this document, it is arranged as a checklist of items to be completed, with each item being a link to the document section that describes that topic.

Web Site Security - an Introduction

Security Features or Attributes

Security for Web Sites and Content can provide a number of features or attributes. These are best described, in order of increasing complexity, as:-

  1. Access Control. The ability to restrict access to Content. ie. To allow only a certain user or group of users to gain access. There are a number of ways of accomplishing restricted access.
  2. Secure Connection. The ability to protect sensitive information from being able to be intercepted in transit between the Server and the User.
  3. Site Authentication. The ability for a user to be assured of the authenticity of the site. ie. That it is actually owned by the organisation that purports to own it.

These features can be implemented alone or in combination depending upon the requirement.

Web Site Types by Usage

Without, at this stage, considering what security features are used in each Web Site type, the common Web Site usage types are:-

When to Use What Security Features

Sometimes it is very obvious which security features are required by a particular application and at other times it can be a personal value judgement. Security, as a general rule is not a binary quality, but rather a continuum extending from low security to high security and along with this goes ease of use. Low security implies ease of use and the higher the security, the less is the ease of use and the greater is the administration work load. More is not therefore always better, and the level of security needs to be assessed as appropriate to the risk(s) that it is guarding against.

Even very high security is not impenetrable, but it is deemed suffcient for all commercial purposes including Internet banking, which transfers large sums of money on a daily basis around the world, over the Internet. The Internet by its nature is insecure without implementing these security measures. Internet Banking uses all three of the types of security features discussed below.

Access Control

Network Access

As can be understood from the description of an Intranet, that is one way of restricting access to Content. This form of access control relies completely on the network design and connectivity. This method is suitable to be applied where physical access to the network can be controlled. The technique is not necessarily limited to a single building, since network technologies can be employed to extend a LAN to distant sites either through the use of private networks or through public networks such as the Internet, but without enabling public access (Virtual Private Networks).

Password Access & User Authentication

This feature is most often used to limit access to Content that would otherwise be available to a wider user group. Two approaches can be used:-

As you can imagine, these two techniques are applicable to different circumstances. There is less control over the dissemination of of a "global password", since there is the temptation for users to pass on the access information to other people, whereas users can be held individually accountable for anything done using a "personal issue password" and that discourages misuse or sharing. There are methods of Authentication other than passwords (such as tokens, one-time passwords, digital certificates and biometrics), but these are beyond the scope of this document.

Which technique to use depends therefore on how closely you want to control access and how much administration you want to have in configuring and disseminating passwords. Remember that a user population seldom stays static, and as users leave the organisation or are no longer entitled to access, the password has to be changed or removed as applicable. An example of use of a "global password" is to restrict access to "members only" Content, where it is not critical that the content is not available to others through the "leakage" described above. For instance an employment agency may use a "global password" to enable the current clients to use their "members only" resources, however there is a high turnover of users in this situation. As the Content is not sensitive, the "global password" approach can be used and the password changed monthly to put a time limit on the use of the resources by people who are no longer entitled to access. The new password is then re-communicated to the then current Clients. For their employees however, with access to more sensitive information, a "personal issue password" is more appropriate.

Secure Connection

This feature provides an Encrypted connection between the user's Browser and the Web Server, thus ensuring that the information traversing the network cannot be used by anyone who may have access to monitor the network or obtain the information from systems in the middle. The technology is called SSL.

Many companies and most ISPs have a Web Proxy, which may or may not be apparent. A Web Proxy stores Content that is accesed through it for the purpose of decreasing network traffic (and thus cost) and speeding up response times. A byproduct of this is that all of the content viewed through the proxy is available to be read by those with administrative access to the system for a considerable time after it has traversed the system.

A normal Web Server does not provide a secure connection, and so all information passing between the user's Browser and the Web Server is sent over the network in Plain Text. This means that anyone in the middle with a network monitor can read or capture the information as it passes them, including UserIDs and Passwords. The term used to describe an attack using information obtained in this way is a "man-in-the-middle" attack.

The actual risk of this occurring is low, however it also has to be considered in conjunction with the value of the information to another party. It should also be realised that servers are not always where we think they are, and the traffic may traverse countries that are not friendly and / or do not subscribe to our laws. Some examples are probably the best way to illustrate the principle.

In Internet banking, your UserID and Password protect the ability to transfer money from your accounts. There are two principles here:-

  1. Protection of the Access Control. ie. Preventing someone in the middle from obtaining the UserID and Password.
  2. Protecting the confidentiality of transactions and data about the accounts from being observed by someone in the middle

The primary motivation for obtaining impropper access is to obtain financial benefit. The risk of financial loss occurring if the Access Control fails is high and therefore deserves the highest security protection. This means that the Access Control information, and particularly the "shared secret" (usually a password) must be protected by Encryption.

Ordinary web site administration is generally considered to be a low risk activity. The information uploaded to the site is usually not of a nature that disclosure would be catastrophic. Access Control is important to prevent the wrong people from changing the content on the site, however there is unlikely to be a direct financial loss and the motivation for improperly gaining access is quite different. This situation therefore is suited to a less complex and expensive security treatment (usually Encryption of the connection is not used).

Site Authentication

Most often used in E-commerce and Internet banking, this feature ensures that the user can determine the bona fides of the site to which they may be sending sensitive or valuable information. This technique is usually only used where "value" is being transacted and the highest level of trust is required. Usually accomplished by means of a Digital Certificate, that the server is able to communicate to the user's Browser. The user can then inspect the Digital Certificate and decide whether to trust the site or not.

A Digital Certificate is encrypted and cannot be forged. It has a chain of authentication and verification that starts with an issuing authority and ends with the site in question. The Digital Certificate records both the Domain Name and the Internet Protocol Address of the Server, so that you can verify that you are communicating with the Server to whom the certificate was issued.

While it is possible for anyone to create a Digital Certificate, the trust comes about because you trust the person or organisation that has created the certificate. In the main, people only generate their own Digital Certificates for testing and internal use in an organisation. If the certificate is to be trusted in a broader public domain, then it is usually obtained from one of a few well known and trusted Certificate Issuers such as VeriSign or Thawte1, to name two of the most trusted certificate issuing organisations.


FrontPage, Frontpage Extensions, MS Word, MS Excel, MS Powerpoint and MS Office are products of Microsoft Corpoation. Netscape and Netscape Communicator are products of Netscape Corporation.

1 Systems-Go's Principal is a registered Notary of Thawte's Web of Trust.