Back

how to prevent users from creating unnecessary files in my bucket?

  • 0
  • General
  • Web
manazo
27 Feb, 2024, 07:25

Users can create posts in my app, and each post can have some files (images) associated with it. for this to be implemented, I need to give all the users create permission to that bucket. But that comes with the fact that any user can make my bucket bloated with images not associated with any post. how can I prevent it?

Appwrite: Cloud Stack: NextJS@latest

TL;DR
Developers want to prevent users from creating unnecessary files in their bucket. They are using Cloud with NextJS@latest. Giving all users create permission to the bucket risks it being bloated with images unrelated to posts.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more