found an option to pre/post files as well, this is great.
I am trying to secure images using relationship.
how to redirect request in pre process script using nodejs ?
lets say if image/20.jpg was requested if user is not authorized then request to update the resource and send them notauthorized.png
something like this event.resource = "images/notauthorized.png" but its not working
any idea how to handle this.