Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
Chapter 19. Client Authentication
Prev UpPart III. Server AdministrationHome Next

Chapter 19. Client Authentication

When a client application connects to the database server, it specifies whichPostgres Pro database user name it wants to connect as, much the same way one logs into a Unix computer as a particular user. Within the SQL environment the active database user name determines access privileges to database objects — seeChapter 20 for more information. Therefore, it is essential to restrict which database users can connect.

Note

As explained inChapter 20,Postgres Pro actually does privilege management in terms ofroles. In this chapter, we consistently usedatabase user to meanrole with theLOGIN privilege.

Authentication is the process by which the database server establishes the identity of the client, and by extension determines whether the client application (or the user who runs the client application) is permitted to connect with the database user name that was requested.

Postgres Pro offers a number of different client authentication methods. The method used to authenticate a particular client connection can be selected on the basis of (client) host address, database, and user.

Postgres Pro database user names are logically separate from user names of the operating system in which the server runs. If all the users of a particular server also have accounts on the server's machine, it makes sense to assign database user names that match their operating system user names. However, a server that accepts remote connections might have many database users who have no local operating system account, and in such cases there need be no connection between database user names and OS user names.


Prev Up Next
18.19. Short Options Home 19.1. Thepg_hba.conf File
pdfepub
Go to Postgres Pro Standard 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp