Re: secure pdf files

From: Cy Huckaba (cyh_at_delete.t-3.com)
Date: 04/30/03


Date: Tue, 29 Apr 2003 17:10:42 -0500


I had a similar issue with basically all files that weren't aspx files. I wasn't
as concerned with users being able to see the URLs (in the status bar, view
source or whatever though).

I went into IIS and added a filetype handler for the files that I wanted to
protect (i.e. gif, jpg, pdf, etc) and pointed the handler to the .Net Framework
aspnet_isapi.dll that all of the other .net pages are handled by. Use the others
(aspx, ashx) to find the correct location of the dll you should point to.

Works like a charm now, all my files are protected for that project. Took me 5
minutes...

Cy Huckaba

"Nad Cyrus" <anonymous@devdex.com> wrote in message
news:eoCjzzhCDHA.28568@TK2MSFTNGP10.phx.gbl...
> I am writing a banking application and have a number of client
> statements in pdf flat file format.
>
> I need to be able to serve up these statements to client when they login
> and are authenticated against a sql db.
>
> My problem is that I dont want to disclse the url of teh pdf to user, so
> they can try to guess the location of another client. I also don't want
> to use windows security and set up an account for each client. I simply
> want to be able to store pdf files in a directory accessible by web
> server (IIS) and when a client clicks on their link, pdf is presented to
> them but they don't know where file came from.
>
> Any ideas??
> Thanks in advance.
> Nad
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Image resolution
    ... almost certainly have resizing. ... When the client sends me her finalized MSWord and PDF files to check, ... which we have changed from 150 ppi to 300 ppi in the appropriate ...
    (microsoft.public.mac.office.word)
  • Re: Email multiple files from web page
    ... So the selected files can be reached from the client PC via a mapped drive ... You could also consider moving the whole file selection process to a ... each PDF to be included, and have a text area where they can enter the ... Clerk uses intranet application to pull up product information ...
    (microsoft.public.scripting.vbscript)
  • Re: Generating PDF using BizTalk
    ... XML message in a special element type and then send to the client through ... BizTalk, and what I need for doing that? ... executes the FOP command, waits for the output, read generated PDF ...
    (microsoft.public.biztalk.general)
  • Re: Generating PDF using BizTalk
    ... So how do you return the generated pdf to the client? ... BizTalk, and what I need for doing that? ... We are using XSL-FO technology to convert XML Data to PDF.There are ... executes the FOP command, waits for the output, read generated PDF ...
    (microsoft.public.biztalk.general)
  • Re: Using SQl to store aspx pages and memory problems
    ... Just use use regular aspx files and be done with it. ... Many have server side ... > the server and redirect the request to this file. ... > written back to the client - the problem is with aspx files. ...
    (microsoft.public.dotnet.framework.aspnet)