Synthetic data: privacy and security considerations
Synthetic data is created artificially to represent selected characteristics of real-world records, events or processes. Learners may use it to practise data analysis, build software, test AI workflows and explore business scenarios without routinely handling production information.
However, the term synthetic does not automatically mean private, anonymous or secure. Some datasets are created independently from fictional rules. Others are generated by models trained on real personal or confidential records. A generator may reproduce distinctive source examples, expose sensitive patterns or produce data that becomes identifiable when combined with other information.
Privacy and security therefore need to be considered across the full lifecycle: selecting source information, building the generator, creating and validating samples, storing outputs, sharing notebooks and disposing of project files. This guide explains practical precautions for learners, students and educators.
1. Understand what synthetic data does and does not guarantee
Synthetic data is generated rather than directly recorded as the corresponding real-world event. It may be created by hand, through rules, a simulation, statistical sampling or a machine-learning model.
These methods have different privacy properties.
- Fictional examples created independently: A learner writes sample records without using actual personal information. This can reduce source-data exposure, provided the examples do not copy real people or confidential cases.
- Rule-based data: A program generates values from specified ranges and constraints. It may be independent of personal records, but the rules or seed values could still contain confidential information if poorly designed.
- Simulation: A program represents a process and generates observations. The simulator may use sensitive calibration data or reveal proprietary operating assumptions.
- Statistical or model-based generation: A generator is fitted using a reference dataset. It may preserve useful patterns, but its outputs and model can potentially reveal information about the source.
Synthetic origin alone is not proof that information is anonymous. Understand how the data was created, what information influenced it and who will receive it.
2. Distinguish privacy from security
Privacy concerns appropriate collection, use, disclosure and retention of information about people. Security concerns protecting information and systems against unauthorized access, alteration, loss or disruption.
They overlap, but neither replaces the other. A dataset can be stored securely while being used for a purpose that was never authorized. Conversely, a dataset created for a legitimate educational purpose can still be exposed because it was placed in a public repository.
For a learning project, ask both sets of questions:
- Is this data appropriate and authorized for the stated purpose?
- Is it protected while being generated, stored, accessed and shared?
A responsible project should address both.
3. Identify whether real source data is involved
The first privacy question is whether the generator uses information from real people or organizations.
A learner may create a fictional retail dataset entirely from invented rules. Another project may train a generator on customer transactions or employee records. These are materially different situations.
Before using a source dataset, identify:
- Who collected or owns it.
- Whether it contains personal, sensitive or confidential information.
- Why it was originally collected.
- Whether the intended educational or research use is permitted.
- Whether the source owner has approved access and processing.
- Whether additional institutional or legal review is required.
- Whether the generator provider or other third parties will receive the data.
Do not assume that data available online, supplied by a classmate or accessible through an internship can be reused for any purpose. Follow the source owner's terms and the rules of the school, university, employer or research organization.
4. Prefer independently created fictional data when it meets the learning goal
For many beginner exercises, it is unnecessary to start with personal or confidential records. A small fictional dataset may be enough to demonstrate data cleaning, charting, database operations, report calculations or an application workflow.
For example, a learner can create fictional order references, product categories, quantities and dates to practise calculating totals. There is no need to copy transaction histories from a real shop if the assignment only requires learning how to group records.
Independent fictional data reduces reliance on sensitive source information, but it still needs care:
- Do not copy real customer examples and merely change names.
- Do not use real email addresses, telephone numbers or account references as placeholders.
- Avoid embedding actual business secrets in fictional examples.
- Label generated records as fictional.
- Document assumptions so that readers do not mistake the values for observed facts.
Use simple independent examples whenever they adequately meet the task.
5. Know the difference between anonymized, pseudonymized and synthetic data
These terms have distinct meanings.
Pseudonymized data has direct identifiers replaced or separated, but an individual may still be identifiable through additional information or linkage. It may remain personal data under applicable rules.
Anonymized data has been processed so that individuals are not reasonably identifiable under the relevant legal and practical standard. The assessment depends on context, available auxiliary information and the risk of re-identification.
Synthetic data is generated artificially. It may be independent of real records or derived from real data. It can still reproduce sensitive source information or reveal information about individuals.
Changing names to codes does not make a dataset synthetic. Removing names does not prove anonymity. A model-generated dataset is not automatically safe for unrestricted publication.
6. Understand re-identification and linkage risk
A dataset may omit names and still contain combinations of information that can identify an individual. Dates, location, occupation, unusual events and demographic details can become distinctive when combined with external information.
For example, a fictional-looking record may reproduce a rare sequence of locations and timestamps from a source dataset. Someone with access to public schedules or other records might recognize the pattern.
Before sharing outputs derived from real records, consider:
- Whether records contain rare or unique combinations.
- Whether precise dates, times or locations are necessary.
- Whether categories could be broadened or detail reduced.
- Whether recipients have access to other datasets that enable linkage.
- Whether outputs reveal a person's participation in the source dataset.
- Whether a qualified privacy review is required.
Removing direct identifiers is a useful control in some contexts, but it is not a complete test of re-identification risk.
7. Be aware of memorization in machine-learning generators
A machine-learning generator may learn general patterns, but it can sometimes memorize or reproduce particular training examples. This risk is influenced by the model, training data, training method, access to the generator and how outputs are queried or released.
Potential warning signs include:
- Exact or near-duplicate records appearing in generated samples.
- Rare combinations that closely match source examples.
- Outputs that reveal unusual details about a source individual or organization.
- Repeated outputs that appear to expose specific training examples.
A learner should not try to test a private generator by extracting or exposing records without permission. Privacy testing should follow the project owner's approved procedure and be performed by people with appropriate authorization.
Where source data is sensitive, seek specialist guidance on privacy risk assessment and suitable technical protections before training or distributing outputs.
8. Consider membership inference and other model privacy risks
Some attacks aim to infer whether a particular record was included in a model's training data. Other techniques may try to recover information about training examples from model outputs or parameters. The feasibility and seriousness of these risks vary widely.
Learners should understand the basic distinction:
- Membership inference attempts to determine whether an individual record was used during training.
- Model inversion or extraction-style attacks may attempt to infer sensitive attributes, reconstruct examples or obtain information about a model through its outputs or interfaces.
These are specialist topics. A basic class project does not need to implement attacks. The important lesson is that generated outputs and model access can create privacy risks even when the original training table is not directly shared.
Do not publish an interactive generator or model trained on sensitive information without appropriate security and privacy review.
9. Minimize the amount of data used
Data minimization means using only the information needed for the stated purpose. It reduces unnecessary exposure and can simplify technical work.
Ask for each field:
- Is it required for the exercise?
- Does it contribute to the intended test or analysis?
- Can it be removed, aggregated or replaced with a fictional value?
- Does its precision need to be retained?
- Does it create an additional linkage or disclosure risk?
A project demonstrating monthly reporting may not need exact timestamps or individual-level identifiers. A form test may need to demonstrate an identifier format but not use real identifiers.
Do not collect or upload a field simply because it appears in the original dataset.
10. Handle timestamps and location information carefully
Repeated timestamps and location fields can reveal routines, movements, attendance patterns or operating schedules. They may also disclose sensitive commercial activity, depending on the context.
Consider whether the task requires:
- Exact time or only date.
- Seconds, minutes, hours or broader intervals.
- Precise coordinates or a wider geographic region.
- Individual event records or aggregate counts.
- Original time zones or a normalized time representation.
Reducing detail may lower some risks, but it can also affect the educational task. Record the transformation and check that the data still supports the intended analysis.
Time-zone conversion and date rounding can also create technical errors. Preserve only the temporal and geographic detail required by the purpose.
11. Do not expose real identifiers in examples
Learners often use placeholder values in notebooks, screenshots, reports and tutorials. These values should be clearly fictional.
Avoid using:
- Real names or personal email addresses.
- Actual phone numbers or home addresses.
- Customer, employee or student IDs.
- Payment card or bank account details.
- API keys, passwords or access tokens.
- Real order or case references from restricted systems.
Use clearly artificial values that cannot reasonably be mistaken for actual credentials or identifiers. Do not reuse production secrets even in a private assignment or test file.
12. Be careful with public datasets
A dataset being publicly downloadable does not mean every use is permitted. Check the publisher, licence, terms of use, attribution requirements and restrictions on redistribution or commercial use.
Also consider whether the dataset contains personal or sensitive information, whether it has been aggregated or anonymized, when it was collected and whether the publisher explains its limitations.
A public dataset can still present privacy risks. Do not assume that public availability means individuals expected unrestricted reuse or that the file has been independently verified as anonymous.
When terms are unclear, ask the educator, data owner or publisher before including the dataset in a project.
13. Protect data when using cloud tools and AI services
Some development environments and AI services process submitted files on external infrastructure. Depending on the provider and product configuration, data may be stored, retained, reviewed for support or handled under different service terms.
Before uploading any reference or generated dataset, check the current official documentation and applicable agreement for:
- What data is transmitted.
- Where it is processed and stored.
- Retention and deletion practices.
- Whether inputs may be used to improve or train services.
- Which provider personnel or subprocessors may access information.
- Available access controls and account settings.
- Security commitments and incident procedures.
- Whether the service is approved by the institution or organization.
Do not assume a free account, educational offer or private workspace has the same controls as an approved institutional environment. If the handling terms are unclear, use independently created non-sensitive examples.
14. Secure local files and devices
A local dataset can still be exposed if it is stored in a shared folder, an unprotected device or an account used by other people.
Practical safeguards include:
- Use an approved device and account.
- Keep project files in a location with appropriate access controls.
- Apply device security updates.
- Use a strong device sign-in method.
- Avoid copying datasets to public or shared computers.
- Lock the device when it is unattended.
- Protect backups and removable storage.
- Remove unnecessary downloads and temporary exports.
Follow the security instructions of the school, university or employer. Do not create your own storage workaround for restricted information.
15. Protect notebooks, code repositories and project files
A data-science notebook can contain much more than code. It may store input records, generated outputs, charts, logs, file paths and credentials.
Before sharing a notebook:
- Clear outputs that contain sensitive information where appropriate.
- Inspect markdown cells and code comments.
- Remove credentials and tokens.
- Check hidden files and attachments.
- Review repository visibility and collaborator permissions.
- Exclude restricted data using appropriate repository configuration.
- Avoid publishing screenshots that reveal source records.
- Use a safe sample dataset for public demonstrations.
A repository marked private is not a substitute for access governance. Collaborators may download copies, and access settings can change. Follow the project's approved storage and sharing rules.
16. Apply access control and least privilege
Only people who need access should be able to view, change or export the dataset and generator.
For a team project, define:
- Who can access reference data.
- Who can run the generator.
- Who can view generated output.
- Who can approve exports.
- Who can change generator rules.
- Who can release datasets outside the project environment.
Use separate development and production access where required. Do not share one account or credential among several learners. If a project uses an API, store the secret using an approved mechanism rather than placing it directly in the code or notebook.
17. Protect data during transfer and collaboration
Sending files to classmates or collaborators can create extra copies and make it difficult to track who has access.
Use approved collaboration platforms and restricted links. Check the recipient list before sharing. Avoid public links for private coursework or business data. Do not transfer sensitive files through personal email or unapproved messaging services.
Before collaboration, agree:
- Which dataset version is being used.
- Who may access it.
- Where it can be stored.
- Whether copies may be downloaded.
- How edits and derived datasets are managed.
- When access should end.
If independent fictional data is sufficient, sharing that instead of a sensitive reference dataset is usually simpler.
18. Treat labels, charts and model outputs as possible disclosures
Privacy risk does not end with the raw data. Generated labels, summaries, charts, sample records, model explanations and predictions may reveal information about the source.
Examples include:
- A chart for a very small group that exposes one person's value.
- A generated sample that reproduces a rare source event.
- A model output that reveals membership or a sensitive attribute.
- A screenshot containing a customer reference or confidential metric.
- A report that exposes the activity of an individual location or employee.
Review outputs before sharing. Consider whether the audience needs that level of detail and whether groups should be combined or values suppressed. Do not assume an aggregate chart is automatically anonymous.
19. Understand the limits of differential privacy
Differential privacy is a formal mathematical framework designed to limit how much the output of a computation depends on any one individual's data, under specified assumptions and a chosen privacy parameter.
It can be used in some statistical releases and machine-learning workflows. However, it is not a simple switch that makes every synthetic dataset private.
A learner should know:
- The privacy guarantee applies to a defined mechanism and its assumptions.
- The privacy parameter and composition of repeated releases matter.
- Stronger privacy protection can reduce data utility.
- Implementation details and threat models must be reviewed.
- A label claiming “differentially private” should be supported by technical evidence.
Do not claim differential privacy merely because random noise was added. For a project involving sensitive records, seek expert review rather than implementing a formal privacy mechanism from a short tutorial without understanding its guarantees.
20. Keep synthetic data separate from production
A test dataset should not accidentally trigger real transactions or customer-facing activity.
Use approved development and test environments. Ensure that test credentials, endpoints, message queues and payment integrations are clearly separated from live systems.
Check:
- Whether test emails or messages can reach real recipients.
- Whether generated orders can enter fulfilment.
- Whether payment calls use a sandbox endpoint.
- Whether test events can alter production analytics.
- Whether test records can be mistaken for genuine customer activity.
- Whether environment variables point to the intended system.
This is both a privacy and operational safety issue. A harmless-looking test can create real-world consequences if connected to a live workflow.
21. Plan retention and deletion
Keeping unnecessary copies increases the period during which information can be lost, exposed or reused unexpectedly.
A learning project should know:
- Which dataset is the approved source.
- Where working copies may be stored.
- How long the project needs each copy.
- Who is responsible for deletion.
- How notebook outputs, exports and backups are handled.
- Whether the platform retains file history or backups.
- Whether records must be preserved under an institutional requirement.
Deleting a local file may not remove copies from repository history, cloud backups, shared drives or third-party services. Understand the actual deletion behaviour and follow the responsible organization's process.
22. Prepare for an accidental exposure
A project may accidentally publish a notebook, share a link with the wrong person, commit a credential or upload a restricted dataset to an unapproved tool.
If this happens:
- Stop further sharing or processing where safe and appropriate.
- Notify the responsible instructor, supervisor, data owner or security contact promptly.
- Preserve relevant evidence without making additional copies of sensitive material.
- Follow the institution's incident-response process.
- Ask the authorized administrator to revoke exposed credentials or access.
- Record what information may have been affected.
- Do not independently contact affected people or regulators unless the responsible process authorizes it.
Prompt reporting gives the responsible organization a chance to assess the event and determine the required response. Do not conceal an incident because the project is small or the exposure was accidental.
23. A practical learning scenario
A student wants to practise building a customer-support dashboard. The first idea is to download an internal ticket export from a relative's workplace. The file contains ticket dates, customer email addresses, descriptions, assigned agents and resolution notes.
The assignment does not require actual customer information. A safer approach is to create fictional tickets or use a dataset specifically approved for the exercise.
The student can:
- Define the dashboard questions, such as open-ticket counts and time to resolution.
- Create fictional ticket references and categories.
- Generate timestamps and status transitions under documented rules.
- Include labelled examples of missing values and reopened tickets.
- Validate that each event sequence is logically possible.
- Build the dashboard with the generated records.
- Label all results as simulated.
- Share only the approved fictional dataset and screenshots.
This approach supports the learning objective without creating an unnecessary reason to access or redistribute workplace records.
24. Practical exercise: assess a synthetic-data source
For each scenario, decide what you would check before using the data.
Scenario A: You create ten fictional product records using your own rules.
Consider whether any values were copied from real customers or confidential catalogues, whether the fields are clearly fictional and whether the dataset needs a usage note.
Scenario B: A classmate shares a dataset described as anonymized customer purchases.
Consider who owns it, whether the classmate is authorized to share it, what identifiers or unique combinations remain, what licence or terms apply and whether your institution permits its use.
Scenario C: A cloud generator is trained using an employer's customer database.
Consider source authorization, provider terms, data transfer, access controls, retention, memorization risk, privacy assessment and whether an approved secure environment is required.
Scenario D: You publish a notebook containing generated customer records.
Review the notebook outputs, charts, hidden files, repository visibility, copied source details and any credentials or file paths that might reveal protected information.
There may not be enough information to approve any of these examples immediately. Identifying what is unknown is part of a responsible assessment.
25. Student privacy and security checklist
Before using data
- [ ] Define the learning objective and minimum required fields.
- [ ] Determine whether the data is independently fictional or derived from real records.
- [ ] Identify the owner and permitted use of any source data.
- [ ] Check licence, institutional rules and applicable restrictions.
- [ ] Prefer independently created fictional data when it meets the task.
While generating and analysing
- [ ] Avoid copying real identifiers or confidential examples.
- [ ] Use approved tools and storage environments.
- [ ] Keep credentials out of code, notebooks and datasets.
- [ ] Restrict access to people who need it.
- [ ] Check whether generated outputs reproduce sensitive source details.
- [ ] Label simulated records and assumptions clearly.
Before sharing
- [ ] Review charts, labels, notebook outputs and screenshots.
- [ ] Check file and repository permissions.
- [ ] Confirm that the dataset is approved for the intended audience.
- [ ] Remove unnecessary copies and temporary exports.
- [ ] Document source, generation method, limitations and retention.
- [ ] Know how to report an accidental exposure.
26. When to ask for help
Seek advice from an instructor, data owner, privacy officer, security team or other qualified reviewer when:
- The dataset contains personal, health, financial, employee or student information.
- A generator is trained on confidential or regulated records.
- You are unsure whether the source licence permits the intended use.
- Data is being uploaded to an external AI or cloud service.
- The project intends to publish model outputs or generated datasets.
- A possible exposure or unauthorized sharing has occurred.
- The work will influence decisions about people, finances or safety.
Asking for review is not a failure to complete the project. It is part of learning how data systems are responsibly designed and used.
How KOV can support a synthetic-data initiative
KOV can assess a proposed synthetic-data use case, map relevant people, data and systems, identify feasible approaches and define a scoped implementation. Where appropriate, this may include data requirements, approved-tool integration, privacy-aware workflow design, validation criteria, access controls, human review, monitoring and measurement against agreed business objectives.
A useful assessment identifies whether sensitive source data is necessary, what safeguards are required and how the generated output will be tested. Legal, privacy and specialist security advice should be provided by appropriately qualified professionals where needed.
Further verification and editorial notes
Before publication, add and verify authoritative references for data minimization, anonymisation and pseudonymisation, synthetic-data privacy risks, differential privacy, secure development, cloud-service data handling and applicable educational or research governance. Verify current provider terms, retention practices, security controls, product capabilities, regulations and platform policies against official documentation. Cite primary sources and record the verification date.
This article is educational guidance, not legal advice, a security certification or a guarantee that a dataset or generator is safe for a particular use. Requirements depend on the source, generation method, jurisdiction, sensitivity and intended audience.
Need help applying this to your business?
KOV can assess your current process, systems and requirements, then help define a practical AI strategy, integration or implementation plan.
Discuss this with KOV ↗