Re: secure pdf files
From: Paul Ingles (paul_at_oobaloo-dot-co-dot-uk)
Date: 04/26/03
- Next message: Mike Moore [MSFT]: "RE: UNC file share and NTLM user identity"
- Previous message: HaukiDog: "Converting CryptAcquireContext -> System.Security.Cryptography.SymmetricAlgorithm"
- In reply to: Nad Cyrus: "Re: secure pdf files"
- Next in thread: cmoore: "Re: secure pdf files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 26 Apr 2003 01:21:09 +0100
There's an article on CodeProject that covers writing an HTTP Handler,
implementing similar support as that of Apache's mod_rewrite:
http://www.codeproject.com/aspnet/urlrewriter.asp
You might be able to write some rules that would hide the location.
Alternatively, you could also consider writing a custom handler (ashx) that
would effectively stream the file to the browser through the response's
stream. For example, if you store the location of the pdf in a DB somewhere,
you can then query the location in the page (based on a GUID passed on the
query string) and stream the file directly from the disk. Just make sure
that it's not possible for unauthorised users to add file locations into the
DB.
"Nad Cyrus" <anonymous@devdex.com> wrote in message
news:uAVFUtmCDHA.3040@TK2MSFTNGP11.phx.gbl...
> Thanks.
>
> However, my concern lies mainly with url links to pdf.
> I'll want to have a page that has a list of links to pdf
> statments for current logged in client.
>
> It is these url's that are teh prob.
> e.g. http://www.mydomain.com/pdfs/client123/2002q1.pdf
> i dont want to have viewer see this url or be able to determine it.
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
- Next message: Mike Moore [MSFT]: "RE: UNC file share and NTLM user identity"
- Previous message: HaukiDog: "Converting CryptAcquireContext -> System.Security.Cryptography.SymmetricAlgorithm"
- In reply to: Nad Cyrus: "Re: secure pdf files"
- Next in thread: cmoore: "Re: secure pdf files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|