# About changing Password Policy

**URL:** <https://community.auth0.com/t/about-changing-password-policy/89589>\
**Category:** Get Help\
**Created:** [August 29, 2022, 2:24pm UTC](https://community.auth0.com/t/about-changing-password-policy/89589 "2022-08-29T14:24:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Totodile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/totodile/32/12714_2.png) [@Totodile](https://community.auth0.com/u/Totodile)\
**Post date:** [August 29, 2022, 2:24pm UTC](https://community.auth0.com/t/about-changing-password-policy/89589/1 "2022-08-29T14:24:19Z")

</div>

Hello everyone.

I want to change the password policy from a database in order to delete special characters. I guess it is creating a Rule in order to dont allow users to write special characters… is it correct? How can I do it?  
If there are already users with special characters in their password, will they be able to access to DB? Or the system wont allow them ?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [August 29, 2022, 7:47pm UTC](https://community.auth0.com/t/about-changing-password-policy/89589/2 "2022-08-29T19:47:06Z")

</div>

Hi @Totodile

Thanks for contacting us at Auth0 Community. We’re happy to help.

You can amend the password policy at the database connection level, there is also an option here to exclude the special characters requirement, please see [https://auth0.com/docs/authenticate/database-connections/password-strength#change-your-policy](https://auth0.com/docs/authenticate/database-connections/password-strength#change-your-policy) for more information.

Existing users will not be affected, just new sign ups.

Warm regards.

---

<div class="post-metadata">

**Author:** ![Totodile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/totodile/32/12714_2.png) [@Totodile](https://community.auth0.com/u/Totodile)\
**Post date:** [August 30, 2022, 12:11pm UTC](https://community.auth0.com/t/about-changing-password-policy/89589/3 "2022-08-30T12:11:33Z")

</div>

Hello and thank you for your answer, @SaqibHussain

I’m trying to just make a rule in order to not allow the ‘?’ character in the password field, so the user gets a warning if the “'?” is introduced. Is it possible to do it?

Thank you.

---

<div class="post-metadata">

**Author:** ![Totodile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/totodile/32/12714_2.png) [@Totodile](https://community.auth0.com/u/Totodile)\
**Post date:** [August 31, 2022, 6:34am UTC](https://community.auth0.com/t/about-changing-password-policy/89589/4 "2022-08-31T06:34:52Z")

</div>

Anyone can help me? Im stuck.

Thanks

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [August 31, 2022, 7:09am UTC](https://community.auth0.com/t/about-changing-password-policy/89589/5 "2022-08-31T07:09:13Z")

</div>

Hi @Totodile

The Special Characters we allow are the ones defined in [OWASP Password Policy recommendation document](https://owasp.org/www-community/password-special-characters), so they are: " **!"#$%&'()\*+,-./:;\<=\>?@[]^\_`{|}~**"​​​​​​. You can review this in one of our libraries too: [https://github.com/auth0/password-sheriff/blob/master/lib/rules/contains.js](https://github.com/auth0/password-sheriff/blob/master/lib/rules/contains.js)

As a result I don’t think you can exclude the question mark character from the list of special characters. If you have a special use case feel free to log some feedback [here](https://auth0.com/feedback) detailing your requirements for our product team to review.

---

<div class="post-metadata">

**Author:** ![Totodile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/totodile/32/12714_2.png) [@Totodile](https://community.auth0.com/u/Totodile)\
**Post date:** [August 31, 2022, 8:00am UTC](https://community.auth0.com/t/about-changing-password-policy/89589/6 "2022-08-31T08:00:42Z")

</div>

Hi @SaqibHussain .

Thank you for your answer.  
I will ask on feedback section if it’s possible or not.

Kind regards.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 6, 2024, 12:29am UTC](https://community.auth0.com/t/about-changing-password-policy/89589/7 "2024-12-06T00:29:44Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
