AI data security: Best practices for protecting enterprise data from AI-driven exposure

  •  
     
  • -Select-
By clicking 'Download PDF', you agree to processing of personal data according to the Privacy Policy.

Thank you!

The PDF link has been sent to your email.

We hope you enjoy reading and sharing these best practices.

The rapid adoption of generative AI (GenAI) and AI-powered SaaS features has outpaced most enterprise governance programs, creating a largely invisible channel for data exposure. Employees paste source code, customer information, financial data, and internal strategy into public AI tools, and AI assistants embedded in sanctioned apps, all silently expanding the organization's risk surface. The risk extends beyond direct data exposure. Prompt injection attacks can transform benign documents and webpages into data exfiltration channels. Unverified coding assistants may expose credential or proprietary code, and unvetted AI vendors can create supply chain risks that traditional security reviews fail to detect. Use the following best practices to help security teams regain data visibility across AI tools, control sensitive data flowing into AI systems, and reduce exposure without blocking legitimate AI productivity.

9 ways to reduce AI security risks

 

Inventory every AI tool in use across your environment

  • Use network and endpoint logs, CASB audit data, and other telemetry to discover sanctioned and unsanctioned AI tools in use, including:
    • Public chatbots
    • Browser plug-ins
    • IDE assistants
    • AI features embedded in inside approved SaaS apps.
  • Designate each tool as approved, limited-use, or prohibited based on its data handling and model training policies.
 

Discover and classify sensitive data before it enters AI workflows

  • Run sensitive data discovery across your data repositories to locate regulated and proprietary data (PII, PHI, PCI, source code, and trade secrets).
  • Apply sensitivity labels so you can enforce policies based on them.
  • Prioritize the datasets most likely to be fed into AI, such as customer exports, code repositories, and financial models.
 

Publish a tiered AI acceptable use policy

  • Create a policy that defines approved AI usage, data handling rules, and prohibited tools in alignment with existing IT and security policies.
  • Start off by creating three tiers of AI tools:
    • Approved enterprise AI
    • Limited-use tools with data restrictions
    • Prohibited tools
  • Define which data categories can and cannot be shared with each tier.
  • Cover personal account use, browser extensions, and AI features inside sanctioned SaaS apps explicitly.
 

Provide sanctioned enterprise AI alternatives

  • Deploy enterprise-tier versions of the AI tools employees require or already use.
  • Run a vendor risk assessment before approval—questionnaire-based due diligence covering data handling, retention, and incident notification SLAs.
  • Verify model provenance, training data sourcing, and data deletion guarantees.
  • For high-sensitivity workflows, evaluate and procure private LLM deployments or retrieval-augmented systems that keep data inside your perimeter.
  • Simplify the approval process for new AI tools to discourage employees from turning to shadow AI.
 

Monitor GenAI prompts and AI tool usage

  • Inspect prompts sent to GenAI tools in real time to trigger blocks, warnings, or alerts when regulated or proprietary data is detected.
  • Log the context of every prompt—user, tool, and data source referenced—to support compliance reporting and incident investigation.
  • Track AI usage by user, department, and bandwidth to identify anomalies such as sudden usage spikes, after-hours uploads, or access from unusual locations.
 

Control risky uploads and AI tool access

  • Block sensitive file uploads to public AI platforms based on file classification, user, and destination.
  • Restrict access to prohibited AI tools at the endpoint and browser level, not just at the network perimeter.
  • Apply graduated rules: hard block for classified data, warn-and-log for unclassified files, full audit trail for every attempt.
  • Extend controls to personal AI accounts accessed from corporate devices.
 

Govern AI coding assistants

  • Block AI coding assistants (GitHub Copilot, Cursor, Codeium, etc.) from indexing proprietary code, security-sensitive modules, and NDA-bound repositories.
  • Scan code commits for credentials such as hard-coded API keys, database connection strings, and access tokens before they leave the developer workstation.
  • Extend credential scanning to prompt content submitted to AI assistants.
  • Review AI-generated code for embedded credentials and license-encumbered snippets before merging.
  • Block commits or merges when a credential is detected and rotate any exposed credentials.
 

Grant AI assistants only the minimum data access needed

  • Audit NTFS, SharePoint, and cloud permissions to find broken inheritance, stale access, and open shares.
  • Remove direct permissions, enforce group-based access, and review high-risk folders.
  • Apply the same controls to AI plug-ins, agents, and MCP server accounts that you apply to admin accounts—strong authentication, short-lived credentials, and activity logging.
 

Establish AI best practices for employees

  • Run targeted training that shows real examples of AI security risks.
  • Spell out exactly which data must never enter a public AI tool—for example, source code and customer records.
  • Warn against the usage of free tools, which retain prompts and may reuse them for model training.
  • Provide a no-blame channel for employees to report accidental exposures and request access to new AI tools.

Defending against AI-driven data exposure with DataSecurity Plus

ManageEngine DataSecurity Plus helps security teams close the visibility and control gap introduced by AI platforms. It discovers the AI tools employees are using, restricts access to risky tools, audits the prompts they submit, and enforces upload controls that stop business-critical data from leaving your perimeter. Learn more about DataSecurity Plus' shadow AI discovery solution here.

  • 9 ways to reduce AI security risks
  • 9 ways to reduce AI security risks
  • 9 ways to reduce AI security risks

Frequently asked questions

No single control delivers GenAI data security on its own. Effective protection comes from sequencing the right controls in the right order.

  • Enforce visibility, since AI tools that go undiscovered cannot be governed.
  • Once shadow AI is mapped, replace the riskiest tools with sanctioned enterprise alternatives so employees have a safe path before restrictions tighten.
  • Then, layer prompt-level monitoring and upload controls to catch the data exposures that policy alone won't prevent.
  • Finally, address the deeper exposure surface—over-permissioned files and folders that AI assistants will inevitably surface—through access reviews and least-privilege enforcement.

The most common risks fall into a few categories:

  • Shadow AI: Employees using unsanctioned public AI tools with sensitive work data.
  • Prompt and upload leakage: Pasting source code, PII, or contracts into chatbots that retain or train on inputs.
  • Prompt injection: Attackers hiding malicious instructions inside documents, emails, or webpages so that AI assistants follow the attacker's commands instead of the user's.
  • Over-permissioned AI assistants: Copilot-style tools inheriting access to high-security folders.
  • Training data poisoning and tampering: Malicious or unvetted records corrupting model behavior.
  • Compliance exposure: Data movement into AI tools that falls outside the scope of the GDPR, the EU AI Act, HIPAA, the PCI DSS, and similar AI frameworks.

Enterprises should align with voluntary frameworks for internal AI governance and comply with binding regulations that carry legal force.

Frameworks:

  • NIST AI Risk Management Framework (AI RMF): Voluntary framework for governing, mapping, measuring, and managing AI risks.
  • OWASP Top 10 for LLM Applications: Application-level risks like prompt injection, insecure output handling, and training data poisoning.
  • MITRE ATLAS: Adversarial threat knowledge base for AI systems, modeled on MITRE ATT&CK®.
  • CISA/NSA Joint Guidance on AI Data Security (2025): Government guidance specifically on securing data used to train and operate AI.
  • EU AI Act: Binding regulation in the European Union (EU) that classifies AI systems by risk and imposing obligations on high-risk deployments.
  • ISO/IEC 42001: Certifiable management system standard for AI, useful for organizations that need formal compliance attestation.

The EU AI Act classifies AI systems by risk level—unacceptable, high, limited, and minimal—and imposes obligations proportional to that risk. The most relevant requirements for enterprises apply to high-risk AI systems and include:

  • Maintaining technical documentation of the AI system's design, intended purpose, and limitations.
  • Ensuring data governance and quality for training, validation, and testing datasets.
  • Logging system activity for traceability and post-incident analysis.
  • Enabling human oversight throughout the AI life cycle.
  • Registering the system in the EU's public AI database.

Providers and deployers of general-purpose AI models face additional transparency and copyright obligations. Non-compliance can attract fines of up to 7% of global annual turnover, comparable in scale to GDPR penalties.

ChatGPT Enterprise and Microsoft 365 Copilot are significantly safer than their consumer counterparts but require careful deployment. Neither products uses prompts to train foundation models, keep data inside the organization's tenant, and inherit existing identity and compliance controls. They do not, however, eliminate every risk. Microsoft's own Copilot deployment guidance recommends auditing SharePoint permissions and restricting the search to limit discoverability of sensitive content. Enforcing least-privilege access, auditing folder permissions before rollout, and monitoring usage can help reduce such unintended exposure.

Shadow AI is the use of AI tools, plug-ins, or AI features inside SaaS applications without IT approval or visibility. It includes employees using personal ChatGPT accounts on corporate devices, browser extensions that relay page content to AI services, and AI features silently activated inside already sanctioned SaaS tools.

To detect it:

  • Monitor endpoint and browser activity for connections to known AI services.
  • Inspect prompts and file uploads at the endpoint, not just at the network perimeter.
  • Analyze web traffic and proxy logs for traffic to AI domains and APIs.
  • Audit browser extensions and IDE plugins on managed devices.
  • Establish behavioral baselines to surface anomalies—sudden spikes in AI tool use, uploads outside business hours, or access from unusual locations.

Get DataSecurity Plus easily
installed, configured and running within minutes.

Download Now  
Email Download Link