From 293913568e6a7a86fd1479e1cff8e2ecb58d6568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 15:44:03 +0200 Subject: Adding upstream version 16.2. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/client-authentication.html | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 doc/src/sgml/html/client-authentication.html (limited to 'doc/src/sgml/html/client-authentication.html') diff --git a/doc/src/sgml/html/client-authentication.html b/doc/src/sgml/html/client-authentication.html new file mode 100644 index 0000000..4ee0fb9 --- /dev/null +++ b/doc/src/sgml/html/client-authentication.html @@ -0,0 +1,37 @@ + +Chapter 21. Client Authentication

Chapter 21. Client Authentication

+ When a client application connects to the database server, it + specifies which PostgreSQL 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 — see + Chapter 22 for more information. Therefore, it is + essential to restrict which database users can connect. +

Note

+ As explained in Chapter 22, + PostgreSQL actually does privilege + management in terms of roles. In this chapter, we + consistently use database user to mean role with the + LOGIN 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. +

+ PostgreSQL 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. +

+ PostgreSQL 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. +

\ No newline at end of file -- cgit v1.2.3