PDF permissions management with ASP.NET - Timeout Issue
- by Ryan Smith
I have a website that has several PDF files. I need to have quite a few of them locked down with the standard ASP.NET authentication (in a folder with web.config that denies anonymous users).
I set PDF files to get handled by the ASP.NET worker process and added:
<add type="System.Web.StaticFileHandler" path="*.pdf" verb="*" />
to my web.config, but for some reason they hang when downloading. I've seen this issue before on an old server, and for the live of me I can't remember what I did to solve it. Does anyone have any idea?
Thanks.