Skip to main content
XenonStack

Enterprise Data Management

XenonStack Insights Data Privacy Best Practices: 8 Steps for Business

| Published | Updated

Data Privacy Best Practices: 8 Steps for Business
8:35
Data privacy best practices: minimise, classify, control access, encrypt and protect APIs

Key takeaway

  • Eight data privacy best practices for business: minimise, classify, protect endpoints, encrypt with current standards, detect PII, and secure APIs.

Data privacy is the practice of collecting, using, sharing and keeping personal data in ways that respect the rights and expectations of the people it describes, backed by security controls that stop unauthorised access, theft or loss. Security protects the data. Privacy decides what data you should hold, why, for whom and for how long.

This guide is for security, data and compliance leaders who need a working set of practices. It explains how privacy differs from data quality and data governance, then covers eight practices, the encryption standards that are current, how AI agents change the risk, and what to do first. For the wider background, read our complete guide to data privacy and the ElixirData guide to data privacy.

What is data privacy, and how is it different from quality and governance?

The NIST Privacy Framework is described as a voluntary tool that helps organisations identify and manage privacy risk while building products and services, with the stated aim of improving individuals' privacy through enterprise risk management. That framing is useful: privacy is a risk to be managed across the whole organisation, not a single tool.

Two-column diagram. Know your data: collect less, classify data, detect personal data, govern access. Protect your data: endpoints, least privilege, encrypt, protect APIs.
TermWhat it asksExample
Data privacyShould we hold this personal data, and are we using and sharing it appropriately?Collecting only the fields a service needs
Data securityCan anyone who should not see this data get to it?Encryption, access control, endpoint protection
Data qualityIs the data fit for the purpose it is used for?Accuracy, completeness, timeliness and accessibility
Data governanceWho decides how data is used, under what conditions and with what methods?Policies, roles, standards and metrics

Customers trust organisations that are open about how consent is obtained, how privacy policies are followed and how collected data is managed. A breach or a ransomware attack damages that trust and creates legal exposure, so privacy work and security work need to be planned together.

What are the eight best practices for data privacy?

  1. Collect only the data you need.
  2. Classify your data.
  3. Protect endpoints.
  4. Guard against insider misuse.
  5. Defend against phishing.
  6. Encrypt data with current standards.
  7. Detect and protect personal data with a catalogue and governance.
  8. Protect APIs and the data platform.

How do you collect only what you need and classify it?

Data is easy to collect and expensive to protect. Decide what each purpose requires, store that and no more, and keep it somewhere managed, such as a governed data lake. Data that lands without categories, owners and retention rules turns a lake into a swamp, which is hard to search and impossible to protect properly. Classification means labelling data by sensitivity, for example public, internal, confidential and personal, so that handling rules can follow the label. It also makes data easier to locate and retrieve when a person asks what you hold about them.

How do you protect endpoints and guard against insiders and phishing?

Endpoint security covers the entry points of user devices such as laptops and phones: keep operating systems patched, run endpoint protection software, use a firewall to control incoming network traffic and treat unexpected pop-ups as a possible route to malware. Insider risk is reduced by least privilege, where each person has only the access the job requires, and by monitoring unusual behaviour such as large transfers of critical data. Phishing uses messages that appear to come from reputable organisations to steal passwords, card numbers and other credentials. Multi-factor authentication, security awareness and clear reporting routes limit the damage when someone clicks.

Which encryption standards should you use?

Encryption converts data into ciphertext that can be read only with the right key. The advice in older guides to consider DES is out of date: NIST lists FIPS 46-3, the Data Encryption Standard, as withdrawn on 19 May 2005. The current standard is the Advanced Encryption Standard in FIPS 197, whose current version is the 2023 update. NIST describes it as a symmetric block cipher with 128-bit blocks, available with 128-bit, 192-bit and 256-bit keys. RSA remains a widely used public key algorithm for exchanging keys and signing, where a public key is shared and a private key is kept secret.

Encrypt data at rest and in transit, manage keys separately from the data they protect, and do not confuse encryption with hashing. Encryption is reversible with a key. Hashing is a one-way function, which is why passwords should be stored using a purpose-built password hashing method, not encrypted.

How do you detect personal data and protect APIs?

Personal data hides in unstructured text, logs and free-text fields. Detection tools scan for items such as phone numbers, email addresses and card numbers, and a data catalogue records where they sit, who owns them and which policy applies. The catalogue supports discovery and governance without exposing the underlying values to everyone who browses it. Related reading: data lineage tools and best practices and service level agreement benefits.

For APIs and web applications, serve everything over HTTPS so traffic is protected in transit with TLS. Cross-site request forgery is a further risk: it abuses a signed-in user's trust in a site. The OWASP CSRF prevention cheat sheet recommends the synchroniser token pattern for stateful applications, with tokens that are generated on the server, unique per session and unpredictable, and checked on every state-changing request. It advises sending the token in a hidden form field or custom header, not in a cookie, and keeping it out of URLs and logs. Web frameworks provide this: the Django CSRF documentation says CsrfViewMiddleware is enabled by default and that the csrf_token template tag adds the token to forms that post to internal URLs.

How do AI agents change data privacy?

Agents read, combine and act on data across systems, so one badly scoped agent can expose personal data in a prompt, a log or a message it sends. Privacy controls therefore have to move from the application to the decision: what data may this agent read for this task, what may it write or send, who approved the action and where is the record? Collect only what the task needs, mask personal fields by default, and keep an auditable trail of each agent decision. For governed data and context, see ElixirData, XenonStack's Context OS.

What should you do first?

  1. Inventory the personal data you hold and the purpose for each set.
  2. Classify it and assign an owner and retention rule to each class.
  3. Turn on multi-factor authentication and least privilege for the systems that hold it.
  4. Replace any weak or retired cryptography with current standards and review key management.
  5. Add detection and catalogue entries for personal data, then limit what agents can read.

To map one decision your agents make, and the personal data and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What is data privacy?

Data privacy is the practice of collecting, using, sharing and keeping personal data appropriately, supported by security controls that prevent unauthorised access, theft or loss.

What is the difference between data privacy and data security?

Privacy decides what personal data is collected and how it is used and shared. Security protects the data from unauthorised access. You need both.

Is DES still a safe encryption algorithm?

No. NIST lists FIPS 46-3, the Data Encryption Standard, as withdrawn on 19 May 2005. The current NIST standard is the Advanced Encryption Standard in FIPS 197.

How do you protect against cross-site request forgery?

The OWASP cheat sheet recommends the synchroniser token pattern for stateful applications: server-generated, unique and unpredictable tokens that are checked on each state-changing request.

How do AI agents affect data privacy?

Agents can read and combine personal data across systems, so limit what each agent can access for a task, mask personal fields by default and keep an auditable record of each decision.

Ready to put AI agents to work? See an ElixirClaw demo: the agentic OS to build, orchestrate and govern AI agents across your enterprise systems.

Table of Contents

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue