What problem does it solve?
This Skill addresses the critical need to protect sensitive data stored in databases by implementing robust security measures against unauthorized access and breaches.
Core Features & Use Cases
- Data Encryption: Encrypts sensitive columns (like PII) at the application level.
- Row-Level Security (RLS): Isolates tenant data within shared tables using PostgreSQL RLS.
- Connection Hardening: Enforces SSL and uses least-privilege database users.
- Backup Strategy: Implements logical and physical backups for disaster recovery.
- Audit Logging: Tracks all data changes with a dedicated audit table and triggers.
- Use Case: For a multi-tenant SaaS application, this skill ensures that each tenant's data is isolated and encrypted, and all access is logged for compliance.
Quick Start
Implement database security by encrypting sensitive columns, enabling Row-Level Security, and setting up audit logging.