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 in source code is a critical security vulnerability because anyone with access to the codebase or decompiled binaries can extract them. This practice violates the principle of credential secrecy and is flagged by security tools. Credentials should always be stored securely, not embedded in code.