# Unique characters in password - good or bad?

**URL:** <https://meta.discourse.org/t/unique-characters-in-password-good-or-bad/75305>\
**Category:** Community Building\
**Created:** [2017 年12 月 4 日 03:23 UTC](https://meta.discourse.org/t/unique-characters-in-password-good-or-bad/75305 "2017-12-04T03:23:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)\
发布日期： [2017 年12 月 4 日 03:23 UTC](https://meta.discourse.org/t/unique-characters-in-password-good-or-bad/75305/1 "2017-12-04T03:23:41Z")

</div>

When using Discourse as a private repository of sensitive/confidential information, we care about password security. My question is: is enforcing unique characters in passwords a good practice or bad?

The Internet seems to have a consensus that:

- Longer passwords are better, although technically speaking it _reduces_ the search space. However, the trade-off seems to be accepted by most due to the fact that

- Passwords combining different character groups are better, although, again, technically speaking it _reduces_ the search space. But again, humans are lazy and won’t use wierd/uppercase if they don’t have to.

- A min number (usually at least 5 recommended) of unique characters are better. This is less certain. My question concerns this.

I am thinking that forcing unique characters may actually _decrease_ security because:

1. Not many people will use strings of the same characters in passwords… for example, they’ll tend to type `12345` or `qwert` instead of `00000`.

2. Limiting the ability to repeat characters _SIGNIFICANTLY_ reduces the search space. Forgot where I read it, but I read it somewhere that it reduces the search space by more than half.

Any thoughts by security experts on this?

---

_[View the full topic](https://meta.discourse.org/t/unique-characters-in-password-good-or-bad/75305)._
