Taier icon indicating copy to clipboard operation
Taier copied to clipboard

[Feature]数据源连接串及密码的管理

Open wuyulin opened this issue 2 years ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

1、目前数据源连接串及数据库密码在datasource_info表中,使用的是直接将json字符串使用base64编码的方式存储。 2、在前后端交换的接口以及develop_task表中的sql_Text字段中,密码均以明文的方式传输及存储

Use case

能否在数据库及接口中,数据库密码以某种加密方式进行存储和传输,以提高系统安全性。

Related issues

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

wuyulin avatar Feb 26 '23 11:02 wuyulin

可以在配置数据库的密码 前后端使用sm2 或者ras加密 其他地方移除password 字段 欢迎pr

vainhope avatar Feb 28 '23 02:02 vainhope

如果使用对称式加密例如AES可能比较好实现一点。例如加一个是否开启数据源密码加密选项到配置文件中,然后后台在提交任务时解密,在显示给前端和写入数据库的场景下进行加密操作。

weaksloth avatar Jul 03 '23 03:07 weaksloth