<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/export-endpoints-still-need-the-same-authorization-as-the-list-n5oyerlh0" -->

---
title: Export endpoints still need the same authorization as...
description: Export features like CSV, PDF, and download-all endpoints frequently bypass the authorization checks applied to the corresponding UI list because they use a...
canonical: https://daily.dev/posts/export-endpoints-still-need-the-same-authorization-as-the-list-n5oyerlh0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Export endpoints still need the same authorization as the list | daily.dev
og:description: Export features like CSV, PDF, and download-all endpoints frequently bypass the authorization checks applied to the corresponding UI list because they use a...
og:url: https://daily.dev/posts/export-endpoints-still-need-the-same-authorization-as-the-list-n5oyerlh0
og:image: https://api.daily.dev/og/posts/N5OYERLh0.png
og:image:alt: Export endpoints still need the same authorization as the list
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Export endpoints still need the same authorization as the list

**[Auth By Example](https://daily.dev/sources/7eadcwhmohx0bchehapmt)** · [@authbyexample](https://daily.dev/authbyexample) · 1 min read · 1 upvotes · 0 comments

## Summary

Export features like CSV, PDF, and download-all endpoints frequently bypass the authorization checks applied to the corresponding UI list because they use a separate raw query path. The fix is to treat exports as lists with a different output format, applying the same tenant and permission filtering, and to re-verify authorization at actual download time rather than only when the export job is queued.

## Content

CSV exports, PDF reports, and "download all" endpoints often live on a separate code path from the UI list. Teams carefully filter the list by tenant and permission, then the export reuses a raw query that skips those checks.

Treat export as a list with a different shape: same subject, same resource type, same authorization decision — then format the rows. If the user cannot see a row in the UI, it must not appear in the file. Also re-check authorization at download time, not only when the export job was queued.

## Similar posts on daily.dev

- [Introduction to REST API Security – FireTail Blog](https://daily.dev/posts/introduction-to-rest-api-security-firetail-blog-78bnnlerb) · Security Boulevard · 0 upvotes · 0 comments
- [You Cannot See Your Own API From The Outside](https://daily.dev/posts/you-cannot-see-your-own-api-from-the-outside-nrrrutyea) · API Evangelist · 0 upvotes · 0 comments
- [Designing safer listItems and getItem permissions](https://daily.dev/posts/designing-safer-listitems-and-getitem-permissions-knn0orlvr) · Advanced Web Machinery · 81 upvotes · 0 comments
- [Report URI Penetration Test 2025](https://daily.dev/posts/report-uri-penetration-test-2025-h799c6hpy) · Scott Helme · 2 upvotes · 0 comments
- [A Trailing Slash Bypassed AWS API Gateway Authorization](https://daily.dev/posts/a-trailing-slash-bypassed-aws-api-gateway-authorization-xczhpumsq) · InfoQ · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#appsec](https://daily.dev/tags/appsec), [#authorization](https://daily.dev/tags/authorization), [#multi-tenancy](https://daily.dev/tags/multi-tenancy)

[View this post on daily.dev](https://daily.dev/posts/export-endpoints-still-need-the-same-authorization-as-the-list-n5oyerlh0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/export-endpoints-still-need-the-same-authorization-as-the-list-n5oyerlh0","headline":"Export endpoints still need the same authorization as the list","text":"Export features like CSV, PDF, and download-all endpoints frequently bypass the authorization checks applied to the corresponding UI list because they use a separate raw query path. The fix is to treat exports as lists with a different output format, applying the same tenant and permission filtering, and to re-verify authorization at actual download time rather than only when the export job is queued.","url":"https://daily.dev/posts/export-endpoints-still-need-the-same-authorization-as-the-list-n5oyerlh0","datePublished":"2026-09-21T16:23:47.413Z","dateModified":"2026-09-21T16:24:11.533Z","author":{"@type":"Person","name":"Auth By Example","url":"https://daily.dev/authbyexample","image":"https://media.daily.dev/image/upload/s--Fgz7IgGQ--/f_auto/v1789653205/avatars/avatar_7EADCwHmOHX0bChEhAPmt?_a=BAMAMicg0","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/7eadcwhmohx0bchehapmt","name":"Auth By Example"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Auth By Example","item":"https://daily.dev/sources/7eadcwhmohx0bchehapmt"},{"@type":"ListItem","position":3,"name":"Export endpoints still need the same authorization as the list"}]}
```

