Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gUGQm-0007s5-He for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Dec 2018 19:32:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gUGQl-0007Ck-5L for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Dec 2018 19:32:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gUGQk-0007Cd-Vg for pgsql-bugs@lists.postgresql.org; Tue, 04 Dec 2018 19:32:27 +0000 Received: from xvm-110-146.dc2.ghst.net ([46.226.110.146] helo=fetter.org) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gUGQd-0001Iz-R4 for pgsql-bugs@lists.postgresql.org; Tue, 04 Dec 2018 19:32:26 +0000 Received: by fetter.org (Postfix, from userid 1001) id 5E1A941D75; Tue, 4 Dec 2018 20:32:18 +0100 (CET) Date: Tue, 4 Dec 2018 20:32:18 +0100 From: David Fetter To: sudesh mohane Cc: pgsql-bugs@lists.postgresql.org Subject: Re: PostgreSQL db password policy Message-ID: <20181204193217.GJ20931@fetter.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Dec 04, 2018 at 05:15:25PM +0530, sudesh mohane wrote: > > Hello Team, > > > > We are using PostgreSQL db for one of our projects. By default DB > > accepts any password. However client need password policy. > > > > We want to implement password policy (e.g. password expiry, password > > length etc) in PostgreSQL. Unless your client has regulatory requirements for password expiration, you should discourage them in the strongest possible terms from implementing one. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/SoLongAndNoThanks.pdf Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate