Re: ASP.NET file security problem

From: Nicole Calinoiu (calinoiu)
Date: 03/29/05


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>



Relevant Pages

  • ASP.NET file security problem
    ... 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. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: please help to view pdf files in Access forms
    ... but idea is the same - you insert control on a form and then use commend button click event to load pdf into control ... "riyaz" wrote in message ... "Alex Dybenko" wrote: ... > please suggest how to to this.is there a need to add activeX control? ...
    (microsoft.public.access.modulesdaovba)
  • Displaying PDF in VB6 Form
    ... still struggling to get to grips with the best method of showing a PDF in my ... The Acrobat SDK seems unwieldy to say the least and the ActiveX control they ... Has anyone done this before (actually shown the PDF in a from control?) I ...
    (microsoft.public.vb.general.discussion)
  • Re: attach PDF files
    ... This will allow for easier searching, filtering, etc. ... add the Adobe PDF Reader ActiveX control and change the .src ... Is that possible I can attach the PDF in the table and showing on the report? ...
    (microsoft.public.access.tablesdbdesign)