Thank you, that indeed works for monitoring download attempts! I am thinking of something more generic, that could allow us to monitor users trying to maliciously attempt to download files they should not have access to. The initial post may not have clearly stated that, apologies.
Whenever a downloadLink is generated a user gets assigned a link that looks something like this:
can we actively monitor all requests to all such endpoints?
I have confidence in the security of downloading files in Shiny, yet I still would be interested in building some kind of detection system if someone attempts to circumvent imposed download restrictions.