I have a file that I want authorized users to be able to download, but I'm not sure I want it in the uploads directory (so that user/download can find it). I'm thinking about putting it in static, but I realize that doesn't default to secure (well, many static files are needed by the login page, for example).
Is there an easy way, say with routes.py, to require login for a specific static file, or is the check_access() technique in the book and in <URL:https://groups.google.com/d/msg/web2py/3rEQJ9SfIWo/8SEH-bPxAAAJ> the way to do this (using nginx with a very specific pattern)? /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ed68ad57-26a2-4b52-9dc4-fe745035c9c3%40googlegroups.com.