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-coding credentials (passwords, API keys, secrets) in source code is never secure regardless of application type. Credentials embedded in code can be exposed through version control, code sharing, or reverse engineering. Options C and D are dangerously incorrect - internal apps often become external or face insider threats. Secure practice requires using environment variables, secret management services, or encrypted configuration files.