Re: create trigger in postgres to check the password strength

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PAWAN SHARMA <er(dot)pawanshr0963(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: create trigger in postgres to check the password strength
Date: 2017-02-03 16:17:08
Message-ID: CAFj8pRBdBcpgoGMs0ohiqM3H5hyvA0qsagN=8Sykzgq6NJVgjg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

2017-02-03 16:14 GMT+01:00 PAWAN SHARMA <er(dot)pawanshr0963(at)gmail(dot)com>:

> Hi All,
>
> Is this possible to create trigger in postgres to check the password
> strength( like char should be min 8 character) while to creating user or
> role with password.
>
> If it possible can you please share the script with me..
>

yes, it is possible (with a extension)

http://paquier.xyz/postgresql-2/postgres-module-highlight-customize-passwordcheck-to-secure-your-database/

Regards

Pavel

>
> -Pawan
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2017-02-03 16:18:27 Re: create trigger in postgres to check the password strength
Previous Message Adam Brusselback 2017-02-03 16:16:33 Re: create trigger in postgres to check the password strength