ASP.NET file security problem

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default ASP.NET file security problem

    Hi
    I am developing a site with ASP.NET which involves displaying PDfifles using acrobat activeX control. To avoid a user to directlyopen a PDF file using the path of the file I am trying toimplement security for the files using the article "ProtectingFiles with ASP.NET " posted athttp://aspnet.4guysfromrolla.com/articles/020404-1.aspx

    When I do all the settings as discribed in the article the PDFand MDB files are secured but now the activeX control is nolonger 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 ([url]http://www.dotnet247.com/[/url])

    <Id>df+IoIypBEGPwH8iDP8M2w==</Id>
    Amit Batish via .NET 247 Guest

  2. Similar Questions and Discussions

    1. security for file attachment
      Hi, Is there is any API available to secure file attachment. Initially i used AVCryptDoStdSecurity() API, but it is securing entire document...
    2. Security problem with file upload (flash player 8)
      Hello, I tried the new file upload feature as described ine the article " type: onSecurityError errorString: securitySandboxError I tried to...
    3. file security
      Is there a way to secure (and simple) method for "password protecting" a file/folder? Already know about "User Accounts" This is not the...
    4. Web Service: Uploading files and setting file security on a file server
      I have written a web service that provides the following methods: UploadFile SetNTFSSecurity Their purpose is to allow a user to Upload a file...
    5. File Folder Security
      Running Windows XP Professional When I select a folder, As administrator, and right click and go to property's, it has grayed out the ability to...
  3. #2

    Default Re: ASP.NET file security problem

    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
    [url]http://aspnet.4guysfromrolla.com/articles/020404-1.aspx[/url]

    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 ([url]http://www.dotnet247.com/[/url])

    <Id>df+IoIypBEGPwH8iDP8M2w==</Id>


    Nicole Calinoiu Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139