Updated Security
On-Prem and Custom Options for Document Processing Security
Security questions for AI over confidential documents - and when on-prem or custom-fit deployment is the right answer.
By Obsevia editorial · Mid-market chemical, pharma, and medtech compliance operations
Compliance officers ask a blunt question: if we send company documents to a processor, what exposure did we just create—and can we keep processing inside our boundary instead? That is not anti-cloud ideology. It is risk classification. Some corpora are fine in a well-controlled multi-tenant service. Others—unreleased dossiers, trade-secret formulations, patient-linked files mixed into “compliance” folders—belong in private cloud, VPC-isolated, or on-prem processing with your keys and your logging.
This article helps quality, IT security, and RA leaders choose a deployment path for document AI and knowledge agents without defaulting to either “everything must be on-prem” or “the vendor’s standard SaaS is always enough.”
Why start with data classification, not hardware?
Before you ask for GPUs in your rack, classify what will be processed:
- Public / low sensitivity — published guidance, empty templates, marketing PDFs
- Internal — ordinary SOPs, training decks without secrets
- Confidential — batch records, complaint files, supplier pricing, validation reports
- Restricted / trade secret — formulations, unreleased submissions, proprietary process parameters
- Regulated personal data — anything that can identify patients, subjects, or employees in ways privacy law covers
Map each class to allowed processing locations, retention, and subprocessors. If classification is fuzzy, high-sensitivity files will ride along with low-sensitivity pilots and expand blast radius.
For access patterns once documents are inside an AI system, see access control for AI over confidential lab data. For why consumer-style chat upload is a poor fit for regulated corpora, see enterprise knowledge agent vs generic ChatGPT document upload.
When is multi-tenant cloud usually fine for document processing?
Multi-tenant SaaS can be appropriate when:
- Corpora are public or low sensitivity, or confidential only under strong contractual and technical controls
- Encryption in transit and at rest is documented, with clear key management
- Access logging, admin audit trails, and support-access procedures exist
- Data residency and retention/deletion terms match your policy
- Prohibited categories are kept out of the upload set by process and technical filters
- The vendor’s security package (SOC reports, penetration testing summary, subprocessors list) survives your review
“Fine” still means you configure SSO, least privilege, retention windows, and export controls—not that you upload everything on day one.
When should private tenancy, VPC, or on-prem enter the conversation?
Move up the isolation ladder when one or more of these are true:
- Trade-secret formulations and unreleased dossiers are in scope
- Patient or highly confidential HR/legal packs sit inside the same folders users want to “just index”
- National rules, customer contracts, or defense-adjacent work restrict third-country processing or certain subprocessors
- Internal security baselines forbid outbound document flows of a given class
- You need customer-managed keys (CMK) or exclusive control over inference hosts
- Incident response requires packet-level or host-level visibility only your SOC has
Custom-fit does not always mean a server under your desk. Often it means dedicated tenancy, private networking, regional lock, and no-train contractual terms—with on-prem reserved for the strictest cases or air-gapped sites.
Deployment options compared
| Option | What you gain | What you take on | | --- | --- | --- | | Multi-tenant SaaS | Speed, vendor ops, lower ops burden | Shared infrastructure risk model; reliance on vendor isolation | | Private / dedicated cloud tenancy | Stronger isolation, often easier procurement | Higher cost; still vendor-operated plane | | Customer VPC / private link | Traffic stays on your network paths | Cloud IAM and network design skill required | | On-prem / air-gapped | Maximum boundary control for some threat models | Patching, capacity, model updates, monitoring, DR—all yours |
There is no free isolation. Every step toward on-prem transfers operational work to your team.
Security questions that belong in the RFP
Put these in writing and score answers:
- Persistence — Where do documents and embeddings persist, for how long, and in which regions?
- Training — Are customer documents used to train foundation or shared models? Can that be contractually and technically disabled?
- Access — Who at the vendor can open support tickets that contain document snippets? Is break-glass logged?
- Keys — Can we use customer-managed keys? What happens on key revocation?
- Segregation — How are tenants isolated for storage, compute, and search indexes?
- Deletion — What is deleted on contract end, and how do we verify (certificate, API, audit)?
- Inference location — Can inference run in our VPC or on-prem with our keys?
- Logging — Can we export admin and query audit logs to our SIEM?
- Subprocessors — Full list, locations, and change notification terms
- Red team / pen test — Cadence and summary availability under NDA
For regulated computer systems, align validation and security documentation with your existing CSV / CSA approach. FDA materials on computer software assurance and Part 11 electronic records remain relevant reference points for U.S.-facing quality systems; see the FDA’s Computer Software Assurance discussion and Part 11 resources and the regulatory text via eCFR for electronic records expectations that may apply to your context.
On-prem is not automatically more secure
On-prem reduces some third-party exposure when your internals are strong. It increases risk when:
- OS and model runtimes go unpatched
- Local admin rights are shared widely
- Backups are unencrypted or stored in the same failure domain
- No central logging exists for who queried which corpus
- Model weights and document stores sit on laptops “for convenience”
A poorly run on-prem stack can be worse than a well-run enterprise SaaS. Decide based on threat model and operating maturity, not slogans.
Architecture patterns that satisfy security without freezing science teams
- Split corpora — public guidance in a convenient cloud agent; restricted product IP in a private deployment.
- Redaction before index — strip personal data and high-secret fields from lower environments.
- Query allowlists — role-based collections so manufacturing cannot query HR packs.
- Human-in-the-loop export — answers may draft; downloads of source PDFs remain permissioned.
- Short retention for prompts — store citations and document IDs longer than free-form chat logs if policy requires.
- Egress controls — block bulk export of embeddings or raw PDFs to personal accounts.
Custom options beyond “where it runs”
Custom-fit also includes:
- SSO/SAML group mapping to document collections
- Customer-specific retention and legal hold
- Private model endpoints for specialized extraction
- Contractual audit rights and penetration testing windows
- Integration with existing DLP and CASB tools
- On-site professional services for air-gapped install and validation support
Ask vendors which of these are product features versus one-off professional services—and what that means for upgrades.
Decision path for mid-market teams
A practical sequence:
- Classify pilot documents honestly.
- Run a time-boxed pilot on the lowest acceptable isolation that still matches class.
- Measure value (time saved, retrieval quality) before paying for exclusive hardware.
- Escalate isolation only when a deal, regulation, or data class requires it.
- Document residual risk accepted by a named owner when full isolation is deferred.
Many mid-market life science teams start with private cloud tenancy and graduate to stricter deployment when a strategic customer or national rule demands it. That is a valid path if the classification and contracts are honest.
Cost and timeline realities
On-prem and custom VPC projects fail when leadership expects SaaS timelines. Budget for:
- Network and identity design
- Capacity planning for peak indexing
- Backup and disaster recovery tests
- Model and application update procedures
- Validation evidence if the system supports GxP decisions
- 24/7 or business-hours support model you can actually staff
If those line items are impossible, renegotiate scope of documents rather than installing a ghost system nobody patches.
FAQ
Does on-prem automatically mean more secure?
No. On-prem shifts operational burden to your patching, access control, monitoring, and backup discipline. It reduces some third-party exposure when those internals are strong—and increases risk when they are not.
Should every SME demand on-prem?
Only when data classification or contracts require it. Many mid-market teams start with private cloud tenancy and move to stricter deployment if a customer deal or regulatory constraint needs it.
Is encryption enough to approve multi-tenant processing?
Encryption is necessary but not sufficient. You still need tenant isolation design, access control, training-use terms, retention/deletion, support-access rules, and a subprocessors review. Encrypted data in the wrong operational model is still the wrong model.
How do we prove deletion at contract end?
Require a documented deletion procedure, timelines for primary storage and backups, and written confirmation. For higher assurance, negotiate audit rights or technical attestation. Test deletion on a non-production project before you rely on it for trade secrets.
Can we mix deployments for different document classes?
Yes—and often you should. Keep low-sensitivity regulatory monitoring in a convenient cloud service while processing restricted product IP in a private boundary. Mixing without classification labels is the failure mode to avoid.