Back

Temporary Access or Appropriate Access for File for External Reading

  • 0
  • Cloud
grindorliveaverage
12 Oct, 2024, 23:56

i need to input my "https://cloud.appwrite.io/v1/storage/buckets/66fc38cb0037ad5e5354/files/LINK" image link as a param for a replicate method but I am unsure what the proper permission setup should be so replicate can have access to using it but not expose it as any allow for everyone to retrieve the stored file? I'm sorry if this seems novice but very unfimiliar without permissions i don't think a .getSignedUrl method exists in appwrite so unsure what to do

TL;DR
To restrict access to your image link for external reading without exposing it to everyone, you need to set appropriate permissions. Since the .getSignedUrl method isn't available in Appwrite, you can generate a time-limited signed URL using a cloud provider like AWS or Google Cloud Storage. This will allow controlled temporary access to the file for replication without exposing it indefinitely.
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