This is really a couple of questions about preventing unauthorized attempts to access a specific file type. Here go the questions:
- How do I prevent users from directly requesting a type of file? Do I write an HTTP handler?
- After preventing a direct download, can my app still explicitly serve that file type? How?