Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ba1578aa
Commit
ba1578aa
authored
May 27, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve pg_hba.conf examples
parent
b71761d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/backend/libpq/pg_hba.conf.sample
src/backend/libpq/pg_hba.conf.sample
+6
-6
No files found.
src/backend/libpq/pg_hba.conf.sample
View file @
ba1578aa
...
...
@@ -117,21 +117,21 @@
# The above allows any user on the local system to connect to any database
# under any username.
#host template1 192.168.
0.0 255.255.255.0
ident sameuser
#host template1 192.168.
93.0 255.255.255.0
ident sameuser
# The above allows any user from any host with IP address 192.168.
0
.x to
# The above allows any user from any host with IP address 192.168.
93
.x to
# connect to database template1 as the same username that ident on that host
# identifies him as (typically his Unix username).
#host all 192.168.
0.1
255.255.255.255 reject
#host all 192.168.
54.1
255.255.255.255 reject
#host all 0.0.0.0 0.0.0.0 trust
# The above would allow anyone anywhere except from 192.168.
0
.1 to connect to
# The above would allow anyone anywhere except from 192.168.
54
.1 to connect to
# any database under any username.
#host all 192.168.
0
.0 255.255.255.0 ident omicron
#host all 192.168.
77
.0 255.255.255.0 ident omicron
#
# The above would allow users from 192.168.
0
.x hosts to connect to any
# The above would allow users from 192.168.
77
.x hosts to connect to any
# database, but if Ident says the user is "bryanh" and he requests to
# connect as PostgreSQL user "guest1", the connection is only allowed if
# there is an entry for map "omicron" in pg_ident.conf that says "bryanh" is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment