Question 19
A proposed GitHub Pages application must keep a private API key, execute server-side payment logic, and write directly to a database. What is the fundamental problem?
Static hosting lacks a protected server runtime for private secrets, payment logic, and database writes.
Static hosting cannot call external payment APIs or database services from client-side JavaScript at all.
Browser code can protect permanent private keys when source maps and developer tools are disabled.
Frontend environment variables remain private when injected only during the static site's build process.