Back

[SOLVED] storage can be accessed publicly

  • 0
  • Self Hosted
rohan
5 Sep, 2023, 15:54

Hi,

I have not set the storage permission to any still i can access the files stored publicly!

TL;DR
User encountered an issue where storage can be accessed publicly despite not setting the storage permission to "any". They updated to version 1.4.0 and tried disabling/enabling the button, but the issue persisted. They created a new bucket to test and it didn't happen there. They asked if there were any missed migrations causing the issue and requested more detailed reproduction steps. Another user suggested opening the file URL in an incognito window to test access. The issue was solved and the solution was not mentioned in the thread.
rohan
5 Sep, 2023, 15:55

file permission

rohan
5 Sep, 2023, 15:55

storage permission

rohan
5 Sep, 2023, 15:56

storage can be accessed publicly [IMPORTANT]

Drake
5 Sep, 2023, 18:37

how are you testing access? and what version of Appwrite are you on?

rohan
5 Sep, 2023, 20:15

By opening the file url in a incognito window

rohan
5 Sep, 2023, 20:16

I can still see the pics, audios and anything stored in the storage

Drake
5 Sep, 2023, 20:17

and what version of Appwrite?

rohan
5 Sep, 2023, 20:17

1.4.1 latest

Drake
5 Sep, 2023, 20:27

didn't work for me...can you provide more detailed reproduction steps?

rohan
5 Sep, 2023, 20:43

its happening to existing storage bucket

rohan
5 Sep, 2023, 20:43

i created a new bucket to test but its not happening there

rohan
5 Sep, 2023, 20:43

is there any migration that was missed causing this issue?

rohan
5 Sep, 2023, 20:47

after disabling and enabling this button its working fine

Drake
5 Sep, 2023, 20:49

what did you upgrade from?

rohan
5 Sep, 2023, 20:49

1.4.0

rohan
5 Sep, 2023, 20:50

i basically update to newer version whenever its released

Drake
5 Sep, 2023, 20:51

there were some migrations related to permissions in 1.3

rohan
5 Sep, 2023, 21:11

i have no idea

rohan
5 Sep, 2023, 21:12

i did this to all my buckets.. and now its not accessible by public

Drake
5 Sep, 2023, 21:15

[SOLVED] storage can be accessed publicly

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