Some complex logic can be done with external processor like PHP, RoR or other web programming language, like proxy detection etc. after authenticated, issue a internal redirect to let lshttpd serve the file directly.
We will update our wanted feature list as well.