A simple way to do this would be as follows Put all your pdf files in a folder not accessible by users. Either outside the docroot of your web server or in a restricted folder within the docroot.
The rest can be used by any scripting language like ASP,PHP etc. When a user requests for a pdf file from a browser. Check if the use is authorizes to download the file. If yes then add http headers for file download and use a stream for downloading the file to the user's browser. If you would like the have the source code for this in ASP. Send me an email an I will pass it on to you. Regards, Ronnie ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Chandran P" <[EMAIL PROTECTED]> Cc: "Matt Perry" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 4:52 AM Subject: Re: [cms-list] Any answer please! > On Thu, 16 Jan 2003, Chandran P wrote: > > We have PDFs with 12MB and I do not want to > > server through app server since it reduce the performance. > > One question: > > Did you run the experiment and prove that the performance resulting > from serving PDF's through the app server would be unacceptable? > > If so, you have a few options open, including the one you asked about in > the first place. If not, you are quite likely wasting your time pondering > this to start with. > > Jeff > > -- > http://cms-list.org/ > more signal, less noise. > -- http://cms-list.org/ more signal, less noise.