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 means embedding passwords or API keys directly in source code, which is a serious security vulnerability. Credentials exposed in code can be easily discovered through version control history, decompilation, or unauthorized access to the repository. Options B, C, and D are incorrect because hardcoding credentials is never secure, regardless of application type or intended audience.