Handling file permissions on runtime using MVC4
问题 I'm currently using MVC4. I have a folder in my project that has files (images, doc and pdf files). I have a database with a list of users (.net membership guids) that have permission to access each of the files. What I'm currently researching and I'm asking you advice, as I never did it on MVC: Any tip regarding how to catch the http request of the file and then decide on runtime if the user has permissions to acces or not? Is there any kind of http handler that let me do that on MVC? Any