[英]SymmetricDS Community Edition passwords hard-coding in property files
We have setup SymmetricDS on Windows for SQL server databases and it's working fine.我们已经在 Windows 上为 SQL 服务器数据库设置了 SymmetricDS,它运行良好。 But we have hard-coded the passwords in property files.但是我们在属性文件中对密码进行了硬编码。 My question here is, is there any way to avoid hard-coding?我的问题是,有没有办法避免硬编码?
You can encrypt your passwords.您可以加密您的密码。
https://www.symmetricds.org/doc/3.12/html/user-guide.html#_encrypted_passwords https://www.symmetricds.org/doc/3.12/html/user-guide.html#_encrypted_passwords
If you set SQL-Server to use Windows authentication for the SymmetricDS user, then you can leave the db.user and db.password properties empty.如果您将 SQL-Server 设置为对 SymmetricDS 用户使用 Windows 身份验证,那么您可以将 db.user 和 db.password 属性留空。
Sql Server - connect with windows authentication Sql Server - 使用 Windows 身份验证连接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.