File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID]
I'm trying to access files in my web app. The requested files are coming from the URL in the given format above which is exposing my projectId and Bucket id. Is this a good idea to expose them. If not how can I avoid them without using any proxy.
It's fine
You can use headers (X-Appwrite-Project) if you don't like the Project ID in the URL itself.
Mind you that those headers can be easily checked via just a few clicks to Dev tools > Network tab or via a MITM Proxy.
Recommended threads
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- CDN not delivering correct bundle
My site 69b4cd410035893573dc is not delivering the latest deployed version via CDN, it seems stuck on versions from previoiu days, alternative links for the lat...
- Site ID: 6a22303d000c95ef93bdDomain: van...
multiple rapid deployments + a force push to master caused the router to lose the domain-to-deployment binding, even though the Domains tab shows the mapping is...