Hello,
We have a web app where people can sign up for free, create and conduct exams. When a user uploads a file, we store it inside firebase storage bucket.
Unfortunately last week some people created accounts, uploaded contents and used these contents for their phishing attack. Then our bucket had been inaccessible for 3 days and that stopped our app from working.
How can we stop this? We cannot prevent people uploading files. And the token given by getDownloadURL() method makes the file accessible to anyone even though there are some security rules that requires authentication. (allow read, write: if request.auth!=null;)
- "It seems to me that the security rule allow read: if request.auth != null; should have blocked any reads from unauthorized users, but with the TOKEN parameter, the file is accessible even for requests without an auth object "
Thanks