Skip to main content

Encrypt connection strings

Summary

The system should load encrypted database connection strings from a protected configuration file that resides separately from the source code.

Description

Database connection strings are very sensitive information because they contain credentials that often have high privileges over the systems database. Thus, these strings should not be part of the systems source code and should not be stored in plain text. They should be encrypted using a secure cryptographic algorithm and the encryption key should also be protected.

Supported In

This requirement is verified in following services

PlanSupported
Machine🔴
Squad🟢

References

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.