---
title: "Discussion on \"One login read 2,987 documents it had no right to see\" | Hashnode"
description: "Discussion on \"One login read 2,987 documents it had no right to see\". Every endpoint in your API checks that the request comes from a logged-in user. That feels safe. Then an ordinary employee notices their document lives at /docs/1jk, changes the URL to /docs/1jl, and"
url: "https://hashnode.com/posts/one-login-read-2987-documents/6b11ffc3bd2a2efed5d77fd0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [One login read 2,987 documents it had no right to see](https://mannietech.hashnode.dev/one-login-read-2987-documents?utm_source=hashnode&utm_medium=feed)

Every endpoint in your API checks that the request comes from a logged-in user. That feels safe. Then an ordinary employee notices their document lives at /docs/1jk, changes the URL to /docs/1jl, and

1d ago · 6 min read · mannietech.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#python](https://hashnode.com/tag/python)
-   [#systemdesign](https://hashnode.com/tag/systemdesign)
-   [#system-design-interview](https://hashnode.com/tag/system-design-interview)
-   [#webdevelopment](https://hashnode.com/tag/webdevelopment)

## Written by

[MannieTech](https://hashnode.com/@mannietech)

@mannietech · Lagos | Nigeria

  
[View profile](https://hashnode.com/@mannietech)

sharing thoughts on developer's experience and providing solution to developer problems.

Just a guy who wants to be the best of the bests!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
