Skip to content
Ohalo is now DataXray.What changed

From Discovery to Defense: Why Classification Is the Foundation of Data Security

Classification is the foundation of data security: if files aren't accurately tagged, access policy has nothing to enforce. On Virtru's Hash It Out podcast, DataXray CTO Alistair Jones explains how to classify files at scale without running an LLM over every one, and how classification drives protection that travels with each file.

Alistair Jones · 5 min read

I recently had the pleasure of joining Will Peppo, SVP at Virtru, and JP Ayyappan, lead product manager for the Virtru Data Security Platform, on Virtru's Hash It Out podcast. We talked about something I spend most of my working life on: how organizations go from discovering their sensitive files to actually defending them, at scale.

Most of the world's data doesn't live in a database. It lives in Word documents, PDFs, spreadsheets, audio and video files, email threads, SharePoint sites and shared drives, and it's the hardest data any organization has to govern. Here are the ideas from our conversation that I think every data security and governance team should be thinking about.

Classification Comes First

When Will asked me to define unstructured data, my short answer was: It's your files. The notes someone typed into a Word document, the Outlook message you're writing today, the free-text description in a CRM record. It can take any format and contain anything, which is why most organizations have very little idea what is stored where.

That's why I see classification as the first hurdle of any data governance program. If you don't get it right, nothing else works. Modern access models such as attribute-based access control (ABAC) are only as good as the labels they act on. If the data isn't accurately tagged, policy has nothing to enforce.

JP raised the question his customers ask him most: "This works from today onward, but what about the petabytes I already have?" It's exactly why we started working together. And policies don't stand still. Some of our clients change their sensitivity rules once a year, some once a week, and every change means re-checking existing files against the new rules. Getting classification right means handling both the initial onboarding of legacy data and continuous reclassification as policy evolves.

Use AI Where It Counts

When you're dealing with a billion documents, you definitely don't want to run a large language model over every one of them. The bill at the end would be token-maxing in the worst possible way. Effective classification at scale uses a layered toolkit:

  1. AI-generated rules first. Use AI to write strong detection rules, such as regular expressions and word lists, that sweep huge volumes quickly and catch the obvious, pattern-based sensitivities.
  2. Lightweight classifiers next. Fast models that place a document in a category with a confidence score, so you can move on without spending tokens.
  3. LLMs last. The best tool in the box, and the most expensive. Reserve them for the hard cases.

Those hard cases are real. A PDF is very different from a two-gigabyte CSV that turns out to be a database dump someone saved to a shared drive. We used to check the first million or so characters and move on. Now an agent can read the headers, understand the structure and intelligently sample rows, say across a date column, to confirm whether sensitive data is present without reading the whole file.

None of this works without measurement. That's why this year we launched our own forward deployed engineering team at DataXray, equipped with an AI platform that can generate synthetic datasets to benchmark classifier performance. Build the benchmark, find the outliers, and you know where to put your effort.

Our forward deployed engineers do more than tune classifiers. They work alongside customers to understand what they actually need from their data, then build modules that turn it into answers. Classification isn't the end goal. It's what lets you get real value out of your files.

From Labels to Protection

Knowing that 40% of your data is sensitive is useful. Protecting it is the point. We often map classification results into SharePoint metadata, Microsoft Purview labels or data catalogs, but the best way I've seen to secure files is data that carries its own protection.

This is where our integration with Virtru really comes into its own. Built on OpenTDF, Trusted Data Format (TDF) wraps a file in encryption with cryptographically bound attributes, so the protection travels with the data. Access is decided by ABAC policy: only an entity that proves it holds the right attributes gets the key. For me, that's the holy grail of data access management.

In practice, our two platforms work together in both directions:

  • DataXray scans, tags and encrypts. Files above a sensitivity threshold are wrapped in TDF as they're classified.
  • Virtru calls DataXray. Through Virtru's tagging pipeline, new or changed content from tools like Outlook or SharePoint is classified by DataXray before it's encrypted.

With our shared defense and intelligence customers, a typical pattern is a quarantine zone. Documents arriving from another department are discovered and classified by DataXray, the relevant files are wrapped in TDF, and they then circulate securely within the enclave. We act as the gatekeeper. Continuous scanning keeps doing this as new files arrive and as need-to-know rules change.

I also feel strongly about open standards. If I were the customer, buying a security tool that encrypts my data in a proprietary format I'm locked into forever would be essentially performing ransomware on my own data. That isn't zero trust. An open standard should be the number one criterion on your decision sheet.

AI Agents Raise the Stakes

AI is only as useful as the data it can reach, so the temptation is to point agents at everything: every Confluence page, every shared drive, every inbox. Without classification and access controls in place, sensitive data ends up in one place, in a model's context, with plenty of routes to leak.

JP made a point on the show that stuck with me: this flips the traditional security posture. You can't wait to detect an exfiltration and plug the leak when an agent can read everything almost instantly. Data has to be classified and protected before the agent arrives. An HR agent should see HR-tagged data, and nothing about your patent applications.

To me, agents simply expose the problems data governance people have been pointing at all along. When deep research features first arrived, we started running permission right-sizing exercises with clients: finding hidden open sharing links, checking who has access to what, and tightening permissions based on each document's sensitivity. It's back to basics. Agents should face the same gates as people.

Listen to the Full Conversation

There's much more in the episode, including why the public sector is leading the commercial world on zero trust for data, how ABAC avoids the explosion of need-to-know groups, and where healthcare and finance are heading next. My thanks to Will and JP for a great conversation.

Listen to Hash It Out Ep40: From Discovery to Defense on Virtru's site →

We're always interested in running pilots of our integration with Virtru and OpenTDF, and I'd love to hear about the problems you're facing in this space. Request a demo and let's talk.

Want the detail on how DataXray and Virtru work together? Download the DataXray + Virtru technical brief →

See what is actually in your files.

Book a demo