# Maximum password length

**URL:** <https://boards.straightdope.com/t/maximum-password-length/77457>\
**Category:** About This Message Board\
**Created:** [August 22, 2001, 1:15am UTC](https://boards.straightdope.com/t/maximum-password-length/77457 "2001-08-22T01:15:16Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [August 22, 2001, 1:15am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/1 "2001-08-22T01:15:16Z")

</div>

How many characters can my SDMB password be? I changed it recently, because of the Announcement, and I got curious.

---

<div class="post-metadata">

**Author:** ![bibliophage](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bibliophage/32/7615_2.png) [@bibliophage](https://boards.straightdope.com/u/bibliophage)\
**Post date:** [August 22, 2001, 2:45am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/2 "2001-08-22T02:45:25Z")

</div>

It looks to me like 13 is the maximum number of characters. Newer versions of vBulletin allow at least 22 characters.

---

<div class="post-metadata">

**Author:** ![jab1](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jab1](https://boards.straightdope.com/u/jab1)\
**Post date:** [August 22, 2001, 5:37pm UTC](https://boards.straightdope.com/t/maximum-password-length/77457/3 "2001-08-22T17:37:37Z")

</div>

Can we use numbers or punctuation marks in our passwords, or are we restricted to just letters?

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [August 22, 2001, 6:05pm UTC](https://boards.straightdope.com/t/maximum-password-length/77457/4 "2001-08-22T18:05:30Z")

</div>

At least some punctuation marks are allowed. You’re probably safe with anything on the number keys.

---

<div class="post-metadata">

**Author:** ![bibliophage](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bibliophage/32/7615_2.png) [@bibliophage](https://boards.straightdope.com/u/bibliophage)\
**Post date:** [August 22, 2001, 7:36pm UTC](https://boards.straightdope.com/t/maximum-password-length/77457/5 "2001-08-22T19:36:12Z")

</div>

> [@](#):
>
> \*Originally posted by jab1 \*  
> \*\*Can we use numbers or punctuation marks in our passwords, or are we restricted to just letters? \*\*

I don’t know about spaces, line breaks, etc., but you can use almost any character in the character set, including punctuation. So é,ô;ç2ÐÖ is a valid password. I know because I chose my password characters at random during the recent change, and it’s just mumbo-jumbo along those lines. Furthermore, passwords are case-sensitive, so ABCD is different from abcd (either one is probably a bad choice). Single words found in a dictionary are also a bad choice, such as password

---

<div class="post-metadata">

**Author:** ![jab1](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jab1](https://boards.straightdope.com/u/jab1)\
**Post date:** [August 22, 2001, 8:14pm UTC](https://boards.straightdope.com/t/maximum-password-length/77457/6 "2001-08-22T20:14:39Z")

</div>

I was thinking of using a telephone number that only I and a select few would know.

---

<div class="post-metadata">

**Author:** ![StephenG](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@StephenG](https://boards.straightdope.com/u/StephenG)\
**Post date:** [August 22, 2001, 9:10pm UTC](https://boards.straightdope.com/t/maximum-password-length/77457/7 "2001-08-22T21:10:23Z")

</div>

**jab** , I’m hardly in expert in computer security, but I’d suggest that a phone number, no matter what it is, is a bad choice for a password. There are either 7 or 10 digits, which gives us either 49 (7[sup]2[/sup]) or 100 (10[sup]2[/sup]) combinations. That’s just not very many…

When selecting a password, it’s not the original source that’s important – it’s the end format. I’m sure there are plenty of sites out there that talk about this, but I’m going to let someone else find them.

---

<div class="post-metadata">

**Author:** ![jab1](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jab1](https://boards.straightdope.com/u/jab1)\
**Post date:** [August 22, 2001, 9:52pm UTC](https://boards.straightdope.com/t/maximum-password-length/77457/8 "2001-08-22T21:52:17Z")

</div>

Okay, I’ll stick with what I have.

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [August 23, 2001, 12:29am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/9 "2001-08-23T00:29:24Z")

</div>

Here is a very good page from MIT about how to choose a good password named, appropriately, [How to Choose a Good Password](http://www.mit.edu/afs/sipb/project/doc/passwords/passwords.html). It says to use passwords like these:  
[ul]  
[li]`3laR2s2uaPA$$WDS!'' for `Three-letter acronyms are too short to use as passwords!’’[/li][li]`IwadaSn,atCwt2bmP,btc't.'' for `It was a dark and stormy night, and the crackers were trying to break my password, but they couldn’t.’’[/li][li]`HmPwaCciaCccP?'' for `How many passwords would a cracker crack if a cracker could crack passwords?’’[/li][/ul]  
(That is the method I use, incidentally.)  
It says never to use words, ever. Even if you don’t think any dictionary would have them, remember this: Specialized dictionaries are online now, open to everyone. The most oblique Anime reference, the most obscure movie quote, can be guessed by someone who has social-engineered you well enough. And social-engineering, not brute-force attacks, is the method of choice (among the non-idiots, anyway).

---

<div class="post-metadata">

**Author:** ![TubaDiva](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tubadiva/32/507_2.png) [@TubaDiva](https://boards.straightdope.com/u/TubaDiva)\
**Post date:** [August 23, 2001, 1:56am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/10 "2001-08-23T01:56:16Z")

</div>

Here’s a program to generate passwords I found at [http://www.download.com](http://www.download.com).

[Quicky Password Generator](http://download.cnet.com/downloads/0-10105-100-1560555.html?tag=st.dl.10001-103-1.lst-7-2.1560555)  
([http://download.cnet.com/downloads/0-10105-100-1560555.html?tag=st.dl.10001-103-1.lst-7-2.1560555](http://download.cnet.com/downloads/0-10105-100-1560555.html?tag=st.dl.10001-103-1.lst-7-2.1560555))

I have not tried it, but it sounds like exactly what you need.

The price is right too. 🙂

For best results here, try to keep it under 12 characters, use a mixture of letters and numbers, etc.

your humble TubaDiva  
Administrator

---

<div class="post-metadata">

**Author:** ![Taran](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@Taran](https://boards.straightdope.com/u/Taran)\
**Post date:** [August 23, 2001, 2:10am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/11 "2001-08-23T02:10:36Z")

</div>

> [@](#):
>
> jab, I’m hardly in expert in computer security, but I’d suggest that a phone number, no matter what it is, is a bad choice for a password. There are either 7 or 10 digits, which gives us either 49 (7[sup]2[/sup]) or 100 (10[sup]2[/sup]) combinations. That’s just not very many…

It’s not _quite_ that bad. There are 10 choices for each of the seven digits (leaving aside a few unused combinations like 555-XXXX), so there are about 10[sup]7[/sup] possible permutations of a seven digit phone number, and 10[sup]10[/sup] possible permutations of a ten digit phone number.

That said, phone numbers are easy to social-engineer (relatively speaking).

---

<div class="post-metadata">

**Author:** ![Pink](https://avatars.discourse-cdn.com/v4/letter/p/71c47a/32.png) [@Pink](https://boards.straightdope.com/u/Pink)\
**Post date:** [August 23, 2001, 3:16am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/12 "2001-08-23T03:16:38Z")

</div>

Some of the fields are different lengths. This is a problem at many sites. It’s better to be conservative (i.e., near the minimum length) or you find yourself locked out of some page or other.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [August 23, 2001, 7:58am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/13 "2001-08-23T07:58:25Z")

</div>

I would caution against experimenting around with nonalphanumerics for your password on this board, or, presumably, anything with vBulletin. I changed my password to:

```auto

;'[]\:"{}|

```

Big mistake! I couldn’t change it back. One of these characters, and maybe more than one, is a whammy. I think it’s probably the backslash. Thanks again, **TubaDiva** , for fixing me up. However, I must say that I did try all of the following characters with no ill effects before hitting on the undesirable sequence up there:

```auto

`~!@#$%^&*(),./&lt;&gt;?

```

One password trick that I like to do is this: rely on keyboard geometry to generate something, like **zse456yhn**. Also, if you touch-type, you can move your fingers off the F and J key and type something in, like **W54q8ty5E903** , which is **StraightDope** , but shifted up one key. These results look pretty cryptic, but they may not be all that secure to crackers. If so, I hope somebody says so.

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [August 23, 2001, 10:59am UTC](https://boards.straightdope.com/t/maximum-password-length/77457/14 "2001-08-23T10:59:15Z")

</div>

**Achernar** :  
Your methods would be pretty safe against a brute-force attack, with dictionary words, or perhaps alphanumeric sequences, chosen from a list, but the method most serious crackers use is social engineering. Social engineering is simply the cracker doing things like posing as a technical support agent and asking you for your password, or asking questions that would reveal common passwords. (Hey, **Achernar** , what’s your mother’s maiden name? How about your social security number? etc.) Social engineering exploits insecurities in the people using the software, rather than insecurities in the software itself. That is why you should never write your password down, for example, or give it out. My link above has good advice.
