# How can multi-tenant SaaS prevent unauthorized access to documents and reports?

> The server should verify the active tenant, then check whether the user can perform the requested action on the specific document or report. Cover previews, downloads, exports, and sharing, and verify the controls with allow and deny cases and audit logs.

Canonical page: https://assurelane.ai/en/insights/saas-url-enumeration-access-control-guide/
Updated: 2026-11-30 · Sources checked: 2026-11-30

## Key takeaways

1. Determine the tenant from server-verified identity and membership.
2. Authorize the tenant, object, and action, and deny access by default.
3. Cover previews, downloads, exports, and sharing.
4. Verify controls with authorization regression tests and audit logs.

## Key findings

- In the Italian patient report exposure case, the data controller and the data processor both received administrative fines.
- Check authorization on the server for every request to a protected resource, including when an interface hides entry points or files have random identifiers.
- Review lists, search, previews, downloads, exports, sharing, and export jobs that run later.
- Audit logs help review and trace events. Make each authorization decision before releasing data. The review should also cover patching and the retention and deletion of historical files.
- Start with authorization rules, coverage across access paths, audit controls, and patching and retention. Assemble evidence from each area to identify what to check first.

## What the Italian regulator found

On 7 October 2026, the Italian data protection authority issued its decisions in a case involving the exposure of data on an online patient reporting platform. The European Data Protection Board (EDPB) published its English summary on 18 November 2026.

The authority found two problems. People could access other patients' reports without authentication. The reports contained identifying information and health data. The platform's automatic deletion mechanism also malfunctioned, leaving some reports dating back to 2020 accessible.

The radiology centre was the controller. The Italian authority found that it had provided inadequate oversight of the security of outsourced processing. The authority found violations of GDPR Articles 5(1)(e), 5(1)(f), 25 and 32 and imposed a EUR 16,000 administrative fine.

The platform's IT supplier was the processor. The authority found that the supplier had delayed installing an available security patch and had inadequately protected the platform against unauthorized access. It found violations of GDPR Articles 5(1)(f) and 32 and imposed a EUR 12,000 administrative fine. The supplier installed the patch after the issue was reported.

The two fines totalled EUR 28,000. The decisions concerned this medical reporting platform and the parties involved. For a SaaS review, determine the appropriate retention period and technical controls for the product and its data.

[EDPB case summary](https://www.edpb.europa.eu/news/italian-dpa-fines-radiology-centre-and-it-provider-a-combined-eur-28-000-for-exposing-patient_en) · [Italian Garante announcement](https://www.gpdp.it/home/docweb/-/docweb-display/docweb/10319176) · [GDPR framework](https://assurelane.ai/en/frameworks/gdpr/)

## Check the authorization logic

Authentication verifies the caller's identity. Authorization determines whether that caller may perform a specific action on a specific resource.

For documents and reports belonging to a tenant, check the caller's current tenant membership or the scope of the service identity. Verify which tenant owns the requested object, then check whether the caller has permission for that object and action. Within a tenant, roles, object ownership, and explicit sharing can further restrict access.

Apply server-side authorization to every request to a protected resource and deny access by default. Hidden buttons and filtered lists control what the interface displays. Random identifiers make resource addresses harder to guess. Enforce authorization whenever the server receives a request for the resource, and scope queries, caches, and storage to the tenant.

[OWASP authorization guidance](https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Cheat_Sheet.html)

## Cover every document access path

Check every route to documents and reports, including lists, search, document details, previews, direct downloads, and exports.

Keep a verifiable tenant context for delayed export jobs. At execution time, check that the requester is authorized for the action and target resources. Recheck the requester's identity, membership, or permissions when they may have changed. Apply object-level access controls to the generated export file as well.

Before delivering a stored object or issuing a download link, authorize the specific tenant, file, and action. Scope signed links to the intended object and operation. Set an expiry and a revocation mechanism appropriate to the way the product uses the link.

If the product lets users share files, define the sharing relationship, the permissions for each file, and how long the grant remains valid. Set distinct authorization boundaries for explicit sharing and elevated administrator actions.

Build a permission matrix with roles, tenants, resources, and actions. In your team's controlled test environment, use synthetic data to verify that authorized actions succeed and unauthorized ones are denied. Cover these cases in your tests.

1. A user with permission accesses a document in their tenant.
2. A user in the same tenant lacks permission for the document.
3. A user in a different tenant lacks a valid sharing grant.
4. A user's permission has been revoked.

Include previews, downloads, exports, and sharing in regression tests and repeat the checks as the product changes. Test exceptional grants and confirm that they stay within their intended scope.

[OWASP multi-tenant security guidance](https://cheatsheetseries.owasp.org/cheatsheets/Multi_Tenant_Security_Cheat_Sheet.html)

## Review audit logs, patching, and retention

Record the information needed to reconstruct an access event. Include the time, verified tenant identifier, actor when identifiable, document or report identifier, action, outcome, and a correlation identifier for tracing. Depending on the risk, log downloads, exports, sharing, and access denials.

Restrict read access to audit logs and protect them against alteration or deletion. Keep report contents, credentials, and access tokens out of logs. Retain logs according to the organization's policy.

Monitor unusual cross-tenant access and suspicious patterns such as repeated denials in a short period. Use logs to review and trace those events. Complete the authorization check before releasing data.

Assign responsibility for patching both in-house components and supplier components. Record what was fixed and the results of retesting. Check that historical reports and exported files are handled according to the retention and deletion policy. Keep evidence that the checks were performed.

Choose technical controls and assess retention for the specific product and the risks of the data it handles.

[OWASP logging guidance](https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html)

## Prepare for a review

Prioritize a review when your team still needs to map some document access paths, verify enforcement on the server, or define permissions for delayed exports, external sharing, or signed links. Also check who owns patching and file deletion, and verify how the product responds to revoked permissions and unauthorized cross-tenant access.

For authorization, review the rules, the access paths they cover, and the tests that verify them. For audit and supporting controls, review the completeness and protection of logs, effective monitoring, patching, and how the product applies its retention and deletion policy.

Bring these materials to discuss which controls to check first.

1. A redacted role and permission matrix
2. A list of access paths for documents and reports
3. Log extracts for allowed and denied access
4. Documentation for supplier maintenance and file retention and deletion

[Product cybersecurity](https://assurelane.ai/en/services/product-cybersecurity/) · [Privacy compliance](https://assurelane.ai/en/services/privacy-compliance/)

## Sources

- [EDPB report on the Italian patient report exposure case](https://www.edpb.europa.eu/news/italian-dpa-fines-radiology-centre-and-it-provider-a-combined-eur-28-000-for-exposing-patient_en)
- [Italian Garante announcement on the patient report exposure case](https://www.gpdp.it/home/docweb/-/docweb-display/docweb/10319176)
- [OWASP Authorization Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Cheat_Sheet.html)
- [OWASP Multi Tenant Security Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Multi_Tenant_Security_Cheat_Sheet.html)
- [OWASP Logging Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html)
