Re: Locking out a user after several failed login attempts - Mailing list pgsql-novice

From Jean-Yves F. Barbier
Subject Re: Locking out a user after several failed login attempts
Date
Msg-id 20110629161718.5933db80@anubis.defcon1
Whole thread Raw
In response to Locking out a user after several failed login attempts  (Mike Thomsen <mikerthomsen@gmail.com>)
Responses Re: Locking out a user after several failed login attempts
List pgsql-novice
On Wed, 29 Jun 2011 09:54:28 -0400, Mike Thomsen <mikerthomsen@gmail.com>
wrote:



> Is it possible to lock a database user in 8.4 after several failed
> login attempts? I looked through the docs, but couldn't find anything
> about this.

I would say log attempts count in a table, reset count to 0 on good login =< 3
(trigger) and another trigger that revokes the connect privilege from the
baaad user if count reaches 3.

--
I can't drive 55.

pgsql-novice by date:

Previous
From: Odd Hogstad
Date:
Subject: Order-by and indexes
Next
From: James David Smith
Date:
Subject: Re: Order-by and indexes