Re: Access to the path is denied when calling StreamWriter from aspx to dynamicaly create asp files. how to enable this in the web.config?

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 09/10/04

  • Next message: snatchitup: "why so hard to figure out security for simple situation"
    Date: Fri, 10 Sep 2004 10:44:02 -0500
    
    

    On Wed, 8 Sep 2004 18:05:15 -0700, "Daniel" <softwareengineer98037@yahoo.com> wrote:

    ¤ Access to the path is denied when calling StreamWriter from aspx to
    ¤ dynamicaly create asp files. how to enable this in the web.config?
    ¤

    I don't know what level of authentication you are using for your web app, or whether you are using
    impersonation, but you must provide sufficient access to the folder or folders where the files are
    being referenced. The permissions may apply to the ASPNET account, IUSR_<MACHINE_NAME> account or
    specific user accounts depending upon the web application authentication implemented.

    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)


  • Next message: snatchitup: "why so hard to figure out security for simple situation"

    Relevant Pages

    • Re: Cannot Open Access File
      ... How do I *Make sure that the account that your web app is running under has ... If your web application doesn't already contain an App_Data folder, ... Change your connection string to: ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Windows Only Authentication
      ... I merely have a secure folder ... they can then access ASP files in the secured folder. ... >account associated with the secure folder. ... That need to first access an ASP file ...
      (microsoft.public.sqlserver.security)
    • Re: Windows Only Authentication
      ... >access an ASP page in the secured folder. ... >> At this point the logs show they are logged into IIS. ... >> they can access that and then can access all ASP files and tables ... It takes accessing another HTM file ...
      (microsoft.public.sqlserver.security)
    • Re: Windows Only Authentication
      ... SQL server is set up for Windows Only ... When the user goes to the secure website folder, ... they can then access ASP files in the secured folder. ...
      (microsoft.public.sqlserver.security)
    • Re: cannot copy asp file into web share?
      ... This issue can occur because you must grant script source access permissions ... the folder that you want to copy .asp files to. ... > I cannot copy asp files into this folder, and I have no idea why not. ...
      (microsoft.public.inetserver.iis.security)

  • Quantcast