• Justin Yao (Veracode, Inc.)

    Great question, the most important takeaway for connection strings is how they are stored at rest. If they are stored in plaintext at rest, this poses a security risk. The recommendation is to store them encrypted in some way until they need to be used.

  • NKlimchuk195709 (Community Member)

    We have project complaining CWE-15 every time when connection string is used from configuration. I've tried to encrypt it in web.config but getting same result. Also our backend service is on protected server and configuration used by DevOps to adjust things like size of connection pool or DB location. We consider our configuration files as trusted sources since our clients don't have access to it. How we can specify this during analysis?

    Expand Post

Topics (3)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.