Multiple choice technology security

Hard Coding credentials

  1. Cannot be treated as a secure practice

  2. Is a good way to hide passwords from hackers

  3. Is perfectly fine for internal applications

  4. Is perfectly fine for external user facing applications

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Hard-coded credentials in source code are visible to anyone with access to the codebase, including insiders after deployment and attackers if the code is leaked. This applies to both internal and external applications. Secure practice requires using environment variables, secure vaults, or configuration management systems.