Is there a way to protect a file in the public directory with Dancer2? 
In Dancer I was using before_file_render hook to achieve that.
before_file_render is still present in Dancer2::Handler::File, but It doesn't work out of box for me.

Thank you