开发者

How to avoid plain password in mod_ldap

There are a plain password store in mod_ldap. Is there any way to encrypt the password?

Au开发者_Go百科thLDAPBindPassword password

Thank You.


No, because even if it's encrypted, something eventually has to decrypt it in order to actually use it to bind to the ldap server. If somebody is able to read that file, then it's pretty likely they'll be able to decrypt it using the same mechanism that apache would eventually have to use.

You should set the permissions on the file so that it's only readable by the apache user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜