On Tue, 2021-03-09 at 23:42 +0530, postbox giridhar wrote: > Is it possible to lock a database user after several failed login attempts. > Please suggest me. The only thing built into PostgreSQL that does something in that direction is auth_delay (https://www.postgresql.org/docs/current/auth-delay.html). It introduces a pause after each failed login attempt, which makes brute force attacks much harder. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com