APIs and Backend
How to Keep API Keys Safe: .env Files and Secrets
Keep API keys out of your code: use .env files and environment variables, ignore them in Git, and know exactly what to do if a key leaks.
BitByteNov 14, 20264 min read
Keep API keys out of your code: use .env files and environment variables, ignore them in Git, and know exactly what to do if a key leaks.
Prompt injection tricks an AI app into following an attacker's instructions. Learn the types, why it is dangerous and the layers of defence that reduce the risk.
Seven simple privacy rules for using ChatGPT and other AI chatbots: what never to type, why it matters, and safer ways to get help.