Re: ASP.NET file security problem
From: Nicole Calinoiu (calinoiu)
Date: 03/29/05
- Next message: szhang: "Impersonation problem."
- Previous message: Gunjan Desai: "Re: Creation of ASPNET user in Active Directory 203"
- In reply to: Amit Batish via .NET 247: "ASP.NET file security problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 29 Mar 2005 08:39:46 -0500
While the HttpForbiddenHandler is probably a good choice for the MDB files
(although placing them complete outside your web site folder hierarchy would
be an even better choice), it's not the right choice for files that actually
need to be accessed via your application. For the PDF files, try using
StaticFileHandler instead.
HTH,
Nicole
"Amit Batish via .NET 247" <anonymous@dotnet247.com> wrote in message
news:Ot4M7PyLFHA.1308@TK2MSFTNGP15.phx.gbl...
Hi
I am developing a site with ASP.NET which involves displaying PDf ifles
using acrobat activeX control. To avoid a user to directly open a PDF file
using the path of the file I am trying to implement security for the files
using the article "Protecting Files with ASP.NET " posted at
http://aspnet.4guysfromrolla.com/articles/020404-1.aspx
When I do all the settings as discribed in the article the PDF and MDB files
are secured but now the activeX control is no longer able to display the PDF
files even after authentication. I don't know wahts happening please help.
Thanks in advance.
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>df+IoIypBEGPwH8iDP8M2w==</Id>
- Next message: szhang: "Impersonation problem."
- Previous message: Gunjan Desai: "Re: Creation of ASPNET user in Active Directory 203"
- In reply to: Amit Batish via .NET 247: "ASP.NET file security problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|