I have a simple file uploader and the uploader must be available to the public (no need for a google account). The files will be uploaded directly to the firebase storage.
However, I want to prevent spam uploads (storage flooding). I can imagine this by restricting the number of uploads per day per ip. This would already be sufficient and I know this is not secure at all but it will prevent simple spam flooding. The uploader will anyways be removed after a month.
Can this be coded as a security rule?