TF
T-Fluencers Docs
Quay lại SRS

VI. Bảo mật, hạ tầng & thiết kế#

1. Phân loại dữ liệu#

MứcVí dụBiện pháp
PublicBanner, tin tức, marketingWAF, CDN, kiểm soát chỉnh sửa
InternalCấu hình, rule hoa hồngGiới hạn truy cập nội bộ, log thay đổi
ConfidentialHọ tên, email, phone, hoa hồngRBAC, audit log, DSAR 30 ngày
RestrictedCCCD, hợp đồng, số tài khoảnMã hóa at-rest + in-transit, hạn chế truy cập

2. Mã hóa & Bảo mật#

  • Truyền tải: TLS 1.2+
  • Lưu trữ: AES-256 cho cột PII nhạy cảm
  • Token/Secret: JWT với expiry, không lưu OAuth access_token
  • Mật khẩu: Hash (bcrypt/argon2)
  • File: MinIO private bucket, presigned URL TTL 30 giây

3. Phân quyền#

  • RBAC: Root / Admin / Campaign Owner / Collaborator
  • Middleware: JWT authentication trên mọi API
  • Audit: Ghi log toàn bộ thao tác quan trọng

4. Hạ tầng đã triển khai#

Thành phầnCông nghệ
DatabaseMongoDB
Cache & Queue brokerRedis
File storageMinIO (S3-compatible)
Queue systemAsynq + Asynqmon dashboard
EmailSendGrid
SMSeSMS
Push notificationFirebase Cloud Messaging
MonitoringElasticsearch APM
AlertTelegram bot
ContainerDocker (Alpine)
PDF generationwkhtmltopdf
Video processingFFmpeg

5. Yêu cầu thiết kế (UI/UX)#

  • Tuân thủ branding Techcombank (bảng màu, font, logo)
  • Responsive: ≥375px (mobile) + 1024/1440px (desktop)
  • WCAG 2.1 AA (≥4.5:1 contrast)
  • Dashboard phân tích hỗ trợ đa ngôn ngữ (vi/en)