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

EnglishIPATiếng ViệtExample
encryption/ɪnˈkrɪpʃən/mã hóa dữ liệuWe use AES-256 encryption to protect sensitive data at rest.
decryption/diːˈkrɪpʃən/giải mã dữ liệuThe 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ượcWe store password hashes using bcrypt instead of plain text.
token/ˈtoʊkən/mã xác thực tạm thờiThe API returns an access token after successful login.

🔹 Xác thực & Ủy quyền

EnglishIPATiếng ViệtExample
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ựcThe 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 serverThe SSL certificate expired, causing browsers to show a security warning.

🔹 Lỗ hổng phổ biến

EnglishIPATiếng ViệtExample
XSS/ˌɛks.ɛs.ˈɛs/Cross-Site Scripting — chèn script độc hạiSanitize 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ấnAlways use parameterized queries to prevent SQL injection.
CSRF/ˈsiː.sɜːrf/Cross-Site Request Forgery — giả mạo request từ site khácAdd 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-domainConfigure CORS headers to allow requests only from your frontend domain.

🔹 Phòng thủ & Kiểm tra

EnglishIPATiếng ViệtExample
vulnerability/ˌvʌlnərəˈbɪləti/lỗ hổng bảo mậtThe security scan found a critical vulnerability in the authentication module.
penetration testing/ˌpɛnəˈtreɪʃən ˈtɛstɪŋ/kiểm thử xâm nhậpWe hired a firm to perform penetration testing before the product launch.
patch/pætʃ/bản vá lỗiApply 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:

  1. Never store passwords in plain text — always use a strong ___ algorithm like bcrypt.
  2. The team discovered a critical ___ in the login API that allowed unauthorized access.
  3. We use ___ 2.0 to let users sign in with their GitHub accounts.
  4. The frontend got a ___ error because the API server didn’t allow requests from localhost:3000.
  5. Apply the latest security ___ to fix the known vulnerabilities in the library.

✅ Đáp án
  1. hash — Hash function chuyển password thành chuỗi không thể đảo ngược
  2. vulnerability — Vulnerability là điểm yếu trong hệ thống mà attacker có thể khai thác
  3. OAuth — OAuth cho phép ủy quyền truy cập mà không cần chia sẻ mật khẩu
  4. CORS — CORS kiểm soát domain nào được phép gọi API cross-origin
  5. patch — Patch là bản cập nhật nhỏ để sửa lỗi hoặc vá lỗ hổng bảo mật

Security là trách nhiệm của mọi developer, không chỉ riêng team bảo mật. Nắm vững 14 thuật ngữ này giúp bạn viết code an toàn hơn và phản ứng nhanh hơn khi có sự cố. Stay secure! 🛡️


📚 Bài viết liên quan


🎯 Kết luận

Hy vọng bài viết giúp bạn tự tin hơn khi sử dụng tiếng Anh trong công việc IT. Hãy bookmark lại để tra cứu khi cần nhé!

👉 Xem thêm bài viết | 📱 App IELTS 6.0