#A way to limit get request only if ID is defined ?

6 messages · Page 1 of 1 (latest)

strange geyser
#

Hi!

For an application I want to limit user role (for security) that can get item by ID only and not get multiple items.
This is for a shared links database, the public users can get a link by ID, but if a malicious person detect that is a Directus instance he may be try to get multiples items by the API.

This is possible ?

icy plankBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

#

✅ A way to limit get request only if ID is defined ?

icy plankBOT
icy plankBOT
strange geyser
#

Oups closed by error