I have managed to trigger events on my bucket when objects are uploaded (
PUT) but I am surprised that there are no triggers called when objects are downloaded (
GETs), as can be seen in this screenshot of the interface:
I want to be notified of each download so I will be able to limit the downloads of any given object to a maximum of 10 times.
How to do that?
I am aiming at setting a tag named for example
true on the file object if the download limit is reached and returning
403 by conditional access policy based on the
Alternative to all this, is to generate signed url's by my web application and track how many signed urls have been generated for a given object and denying any further after generating signed urls 10 times.
Your ideas are highly appreciated.