文章 2022-04-16 来自:开发者社区

PostgreSQL hostssl auth use openssl - Encrypting Data Across A Network

要支持ssl连接, 数据库服务端和客户端都需要openssl包. 以CentOS 5.x 64为例 : openssl-0.9.8e-20.el5 openssl-devel-0.9.8e-20.el5 默认情况下PostgreSQL 读取openssl的配置文件openssl.cnf, 在openssl version -d返回的目录中. 当然也可以使用OPENSSL_CONF环境变量读取指定....

文章 2022-04-16 来自:开发者社区

PostgreSQL md5 auth method introduce, with random salt protect

在上一篇BLOG中介绍了不要在pg_hba.conf中使用password认证方法, 除非你的客户端和数据库服务器之间的网络是绝对安全的. http://blog.163.com/digoal@126/blog/static/1638770402013423102431541/ MD5方法,认证过程 : Encrypting Passwords Across A Network The MD5.....

文章 2022-04-16 来自:开发者社区

PostgreSQL cert client auth method configed with hostssl and user mapping

前面介绍了PostgreSQL 服务器和客户端之间的数据传输加密方法. 前提条件是数据库和客户端服务器都必须有ssl lib库.  http://blog.163.com/digoal@126/blog/static/163877040201342233131835/ 前面还介绍了md5和password客户端认证方法的区别,  http://blog.163.com/digo...

文章 2022-04-16 来自:开发者社区

PostgreSQL disable pg_hba.conf trust auth method

在PostgreSQL中有一项认证为trust认证, 使用该认证方法不需要输入密码即可登录数据库. 也就是说数据库服务器管理员只要有操作系统root权限, 很容易就可以登录数据库查询数据. 在比较高的安全场合, 可能需要禁止掉trust方法. 这样的话即使配置了trust认证方法也需要提供密码. 方法很简单, 只要修改一下hba.c即可. 如下.vi src/backend/libpq/hba.....

文章 2022-04-16 来自:开发者社区

PostgreSQL pg_hba.conf "simple bind" configure Use LDAP auth

上一篇BLOG介绍了OpenLDAP Server的配置,  http://blog.163.com/digoal@126/blog/static/163877040201454112329931/ 本文将要讲一下ldap client的配置, 以及PostgreSQL的ldap认证方法. ldap认证方法指的是通过ldap进行认证, 而非数据库本身的用户密码进行认证. 首先要确保Pos...

文章 2022-04-16 来自:开发者社区

PostgreSQL pg_hba.conf "search bind" configure Use LDAP auth

上一篇BLOG讲了一下在PostgreSQL的pg_hba.conf中配置ldap simple bind的认证方式. PostgreSQL还支持另一种bind方式. search+bind 相当于PostgreSQL server需要两次和ldap server交互. 交互过程如下.In the second mode, which we will call the search+bind m....

文章 2022-04-16 来自:开发者社区

use Windows AD (Active Directory) manage PostgreSQL auth

之前写过关于使用LDAP来认证PostgreSQL用户的文章, 有兴趣的朋友可以参考 :  http://blog.163.com/digoal@126/blog/static/16387704020145914717111/ 但是以前没有测试过windows AD是否可用. 其实方法和LDAP一样,  首先我们要测试一下在linux下, 使用ldapsearch是否可以正常访...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

相关镜像
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等