Ask users to login before downloading .pdf, .doc files

Giganews Newsgroups
Subject: Ask users to login before downloading .pdf, .doc files
Posted by:  oozzzii (osmi…@gmail.com)
Date: Mon, 14 Sep 2009

hello,

I'm looking for a way to require any links to .pdf, .doc, .rtf files
and the like, to require a login before they're downloaded. I'm using
Apache/2.0.61 and a blog application which stores attachments on the
file system. Since links to those documents do not touch the
application code I'm not able to force a login..how do I work around
it?

Would welcome any suggestions.

Replies