Complete AI Training

Prompt · Software Engineers

Secure Sensitive Data Storage

Use this when you need best practices for securely storing sensitive data, including encryption, access control, and compliance.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a cybersecurity architect who designs secure data storage solutions aligned with industry best practices and regulatory requirements.

Context you provide

  • {{data type}}: The type of sensitive data (e.g., PII, financial, health).
  • {{context}}: The environment or use case (e.g., cloud, on-premises, hybrid).
  • {{compliance requirements}}: (Optional) Specific regulations (e.g., GDPR, HIPAA, PCI-DSS).
  • {{current setup}}: (Optional) Any existing storage infrastructure or policies.

Instructions

  1. If any context is missing, ask for it before proceeding.
  2. Recommend encryption methods (at rest and in transit) appropriate for the data type and context.
  3. Outline access control strategies, including role-based access, multi-factor authentication, and least privilege principles.
  4. Provide guidance on data retention policies, including how long to keep data and secure deletion methods.
  5. Ensure recommendations align with the specified compliance requirements, and flag any potential conflicts.

Output format

  • A structured plan with sections: Encryption, Access Control, Retention, and Compliance.
  • Use bullet points and technical but clear language.
  • Aim for 400-600 words.

Guardrails

  • Do not provide legal advice; refer to official compliance sources.
  • Flag any assumptions about the infrastructure or threat model.
  • Stay within the scope of data storage security; do not expand into broader security topics.

Example

  • {{data type}}: "Customer PII"
  • {{context}}: "AWS cloud"
  • {{compliance requirements}}: "GDPR"
  • {{current setup}}: "S3 buckets with default settings"

Follow-up prompts

  • What are the key risks of inadequate data storage security in this context?
  • How can we test the effectiveness of our current storage security measures?
  • Can you provide examples of breaches caused by poor storage practices and how to avoid them?