Security & Cybersecurity — 14 Thuật Ngữ An Ninh Mạng Developer Phải Biết
Bảo mật không phải việc riêng của team security — mọi developer đều cần hiểu. Một lỗ hổng XSS hay SQL injection có thể khiến cả hệ thống bị hack. Hiểu thuật ngữ security bằng tiếng Anh giúp bạn viết code an toàn hơn và communicate rõ ràng hơn với team. Let’s go! 🔒 🔹 Mã hóa & Token English IPA Tiếng Việt Example encryption /ɪnˈkrɪpʃən/ mã hóa dữ liệu We use AES-256 encryption to protect sensitive data at rest. decryption /diːˈkrɪpʃən/ giải mã dữ liệu The server performs decryption using the private key to read the message. hash /hæʃ/ băm — chuyển dữ liệu thành chuỗi cố định, không thể đảo ngược We store password hashes using bcrypt instead of plain text. token /ˈtoʊkən/ mã xác thực tạm thời The API returns an access token after successful login. 🔹 Xác thực & Ủy quyền English IPA Tiếng Việt Example OAuth /oʊ.ɔːθ/ giao thức ủy quyền mở Users can sign in with Google using OAuth 2.0 without sharing their password. JWT /dʒɒt/ JSON Web Token — token mang thông tin xác thực The JWT contains the user ID and expiration time, signed with a secret key. certificate /sərˈtɪfɪkət/ chứng chỉ số — xác minh danh tính server The SSL certificate expired, causing browsers to show a security warning. 🔹 Lỗ hổng phổ biến English IPA Tiếng Việt Example XSS /ˌɛks.ɛs.ˈɛs/ Cross-Site Scripting — chèn script độc hại Sanitize all user input to prevent XSS attacks on the frontend. SQL injection /ˌɛs.kjuː.ˈɛl ɪnˈdʒɛkʃən/ chèn mã SQL độc hại vào truy vấn Always use parameterized queries to prevent SQL injection. CSRF /ˈsiː.sɜːrf/ Cross-Site Request Forgery — giả mạo request từ site khác Add a CSRF token to every form to prevent unauthorized submissions. CORS /kɔːrz/ Cross-Origin Resource Sharing — kiểm soát truy cập cross-domain Configure CORS headers to allow requests only from your frontend domain. 🔹 Phòng thủ & Kiểm tra English IPA Tiếng Việt Example vulnerability /ˌvʌlnərəˈbɪləti/ lỗ hổng bảo mật The security scan found a critical vulnerability in the authentication module. penetration testing /ˌpɛnəˈtreɪʃən ˈtɛstɪŋ/ kiểm thử xâm nhập We hired a firm to perform penetration testing before the product launch. patch /pætʃ/ bản vá lỗi Apply the security patch immediately to fix the remote code execution vulnerability. 💡 Mẹo ghi nhớ Encryption vs Hashing: Encryption = khóa tủ (có chìa mở lại). Hashing = xay thịt (không thể “un-xay” lại). Password phải hash (không cần giải mã), còn tin nhắn phải encrypt (cần đọc lại). XSS vs CSRF: XSS = hacker chèn script vào website bạn. CSRF = hacker lừa browser bạn gửi request đến website khác mà bạn đang login. Cả hai đều nguy hiểm! JWT đọc là “jot” (không phải J-W-T) — đây là cách phát âm chính thức từ RFC 7519. 📝 Bài tập Điền từ thích hợp vào chỗ trống: ...