Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Passwords in PSQL


  • From: Rafaqat Ali <smoken0(at)gmail(dot)com>
  • To: pgsql-hackers(at)postgresql(dot)org
  • Subject: Passwords in PSQL
  • Date: Mon, 25 Apr 2005 11:36:22 +0500
  • Message-id: <b15f5be2050424233633e185a6(at)mail(dot)gmail(dot)com>

Hello All
        I am using 
                        \c [database] [user-name]
       to connect to any database.
       Any one can connect to any database. If any one knows user
name, he/she connect to db. I want to provide some security that no
one can connect without providing passwords. postgres uses a function
do_coonect() for this perpose. I provide it passwords but it let me
connect to db with any passwords provided. Can any one tell me how to
set passwords for db user. and how can I implement password protection
in psql.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group