Require User to be Logged in to Download ZIP Files

Posted by Jonathan Wood on Stack Overflow See other posts from Stack Overflow or by Jonathan Wood
Published on 2011-01-02T06:47:31Z Indexed on 2011/01/02 6:53 UTC
Read the original article Hit count: 207

Is it possible to require the user be authenticated (logged in) when downloading ZIP files from my site? Note that I don't have direct control of IIS7. (I'm on a shared hosting account.)

I can't simply alter the access for a particular directory because many directories are involved and most contain other files that can be accessed freely.

I've Googled this a bit and found similar questions. But I've been unable to find this exact question.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about user-authentication