Security Concerns

Computer Systems Lab Documentation : HOW-TOs and Other Advanced Documentation : Security Concerns

2.3.1 Choosing a Good Password

Your password is the key to your account at the UWCS Department. Selecting a good password is the single most important thing you can do to protect the security of your account. This document will detail what traits make a password bad or good and why, and it will recommend some systems for selecting a good password.

What makes a password bad?

Some people think that all passwords are created equal, and that as long as they don't reveal their password to anybody, they are safe. Unfortunately, that is not the case. There are whole classes of passwords which are considered highly insecure, because they possess traits which people who are trying to gain unauthorized access to your account can exploit.

For example, some people want to use a word from the dictionary, or a sequence such as "123456" or "abcdef" as their password. However, several computer programs have been written to perform so-called "dictionary attacks" on systems, in which the program tries each word in a dictionary, and some other common sequences, as the password for a particular account. These programs are easy to come by, and run fairly quickly, which makes dictionary words very bad choices of passwords.

Other people want to use a name of a loved one or numbers with special significance, such as your birthday Social Security Number, or telephone number, as a password. These are really no better than dictionary words, because an experienced hacker will know to try such combinations.

Finally, some people want to use very short strings for a password. For example, they may want to use a password that is only 3 letters long. Unfortunately, having a short password dramatically reduces the number of possible passwords. A conservative estimate gives us about 90 possible characters for each character in a password, which means that a password with 8 characters (the recommended length) could be one of 4,304,672,100,000,000 possible passwords, far too many for a hacker to exhaustively try each one. By comparison, a password with 3 characters could be one of only 729,000 passwords. An exhaustive test of each of those possibilities is well within the capabilities of modern computers.

So, there are a number of features to avoid when selecting a password:

These features are bad because they all make it relatively easy for a person to guess your password.

What makes a password good?

It's much easier to say which passwords are bad than it is to say which passwords are good. In essence, a good password is any that is easy for you to remember but difficult for others to guess. Avoiding the traits listed above is a good place to start. In addition, you may want to mix upper and lower case letters, use punctuation, and use numbers in your password. Remember, you can use any printable character in your password, including upper and lower case letters, numbers, and punctuation. If you adhere to these guidelines, you will thwart most attacks.

How do I choose a good password?

It is often said that choosing a good password will be the hardest thing you do all day, and it's true. Choosing a password that is both easy to remember and difficult to guess is no small task. However, there are some popular methods of choosing passwords which are usually considered fairly good.

One such method is to use the first letter from each word in a phrase, including punctuation and capitalization, and using numbers or symbols to represent words in the phrase. For example, the phrase To be, or not to be. might become 2b,|!2b. (using the symbol | to represent or and the symbol ! to represent not, and including both the comma and the period). This password is suitably long, and it includes numbers, letters, and punctuation. Of course, now that it has been demonstrated in this document, it would not be a good choice, since anybody who reads this document would know to try it. A word of warning to those who would use this scheme: don't use a phrase that is easy to guess, such as your favorite saying or the first line of your favorite song.

Another method is to start with two or more unrelated words and then abbreviate or mangle them in some manner, such that no part will be found in the dictionary. Make sure the two words aren't easily guessable.

In addition to these methods, our site enforces some rules which prevent you from choosing passwords with the bad traits described above. Specifically, your passwords must have the following characteristics:

Protecting Your Password

Remember, your password is a secret which only you should know. If anybody else learns your password, your security has been compromised. Here are some tips for protect your password:
Last modified by Eric Melski


[ Back to Top ]

Documentation built by builddoc v1.09
run by ziel on Wed Mar 3 12:58:46 1999
Please do not link to this page. Please link only to the top level of the CSL documentation tree.