Sybase IQ 和加密密码

发布于 2024-08-02 02:21:32 字数 126 浏览 3 评论 0原文

我需要在 Sybase 中使用 ENP(加密密码)参数 智商。 该文档对如何使用它有很好的参考,但没有 如何生成密码...那么如何生成密码 与 ENP 连接参数一起使用的加密密码?

提前致谢

I have need to use the ENP (Encrypted Password) parameter with Sybase
IQ. The documentation has a good reference on how to use it but not
how to generate the password ... so how does one generate the
encrypted password for use with the ENP connection parameter??

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我还不会笑 2024-08-09 02:21:32

我相当肯定,当您在 ODBC 控制面板中定义 DSN 时,或者 Sybase 提供的用于在其他平台上定义连接的任何其他实用程序时,就会发生这种情况。 当 DSN 存储在文件或注册表中时,您应该看到定义的 ENP 参数而不是 PWD。

除非涉及非对称算法(私钥可由 sa 定义),否则我认为这不会比混淆更好。 也就是说,锁定用户的能力!

I'm fairly certain it's when you define the DSN in the ODBC Control Panel--or whatever other utility Sybase provides to define a connection on other platforms. When the DSN is stored in file or the registry, you should see the ENP parameter defined rather than PWD.

And unless there's an asymmetric algorithm involved--with the private key definable by the sa--I wouldn't consider this to be better than obfuscation. That is, lock down the capabilities of the user!

意犹 2024-08-09 02:21:32

hythlodayr 是正确的 - 当您选中“加密密码”复选框时,ODBC 管理员会创建 ENP 参数而不是 PWD 参数。 如果您以这种方式创建 DSN,iqdsn 实用程序的 -pe 开关会执行相同的操作。

ENP 参数使用专有加密算法进行加密,但它不能替代强加密。 一个有决心的黑客可能会破解它。 任何包含密码(无论是否加密)的 DSN 都存在安全风险。

全面披露:我在 Sybase 从事 SQL Anywhere 工程工作。 SQL Anywhere 是 Sybase IQ 使用的数据库服务器。

hythlodayr is correct - the ODBC administrator creates the ENP parameter instead of the PWD parameter when you check the "encrypt password" checkbox. The iqdsn utility's -pe switch does the same thing if you create your DSNs that way.

The ENP parameter is encrypted using a proprietary encryption algorithm, but it is not a substitute for strong encryption. A determined hacker could probably break it. Any DSN that contains a password, encrypted or not, is a security risk.

Full disclosure: I work for Sybase in SQL Anywhere engineering. SQL Anywhere is the database server used by Sybase IQ.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文