# Insecure Direct Object Reference (IDOR)

On our server side we did not verify the permission or role to access the data then it allow another user can access the data of the other.



<img src="https://2166680554-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FP9VzT74ziIucCaJgfreE%2Fuploads%2FmTfNJ33cz2Bo7c3eMlhx%2Ffile.excalidraw.svg?alt=media&#x26;token=71c78484-0959-475e-989c-5c99843e7ee3" alt="" class="gitbook-drawing">

**How to Protect**

1. Verify authorization in BE side
