In development, how do I manage database accounts, passwords, and keys in the formal environment?

Source: Internet
Author: User
In development, how are Database accounts, passwords, and keys stored in the formal environment stored? Stored in the configuration file? Stored in environment variables? In this way, developers can see these passwords. How can we let fewer people know these key passwords? In development, how are Database accounts, passwords, and keys stored in the formal environment stored?

Stored in the configuration file?
Stored in environment variables?

In this way, developers can see these passwords.

How can we let fewer people know these key passwords?

Reply content:

In development, how are Database accounts, passwords, and keys stored in the formal environment stored?

Stored in the configuration file?
Stored in environment variables?

In this way, developers can see these passwords.

How can we let fewer people know these key passwords?

OP configures a directory with high permissions to write the configuration. In this way, the online account can only be maintained by OP, and other programs or employees can only read. If you don't even have to look at the company's internal staff...

It can be encrypted for storage. The simplest is base64. it can be used to deal with the problem, or it can be made into a class library and then shelled. it is not necessary.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.