Re: Accessing Text file on Network computer using aspx

From: Paul Glavich [MVP - ASP.NET] (glav_at_aspalliance.com-NOSPAM)
Date: 11/28/04

  • Next message: Mark Petruszak: "DPAPI"
    Date: Sun, 28 Nov 2004 22:06:04 +1100
    
    

    You can still use the ASPNET account if you like but you must define a
    static password for the account on both machines. Both machines must also
    use the same pwd for this account. If the other machine (the one you have
    defined the fileshare on) does not have .NET installed, you must still
    define an ASPNET user and password on the machine, with access to the
    directory acting as the file share.

    On your web server, you can define a static password for the ASPNET account
    in your machine.config file.

    You can also use a totally different account, either way you must have the
    same username/pwd combination on both machines. Obviously, it would be best
    to only limit the user to read access to the minimum amount of information
    on the other fileserver.

    -- 
    - Paul Glavich
    Microsoft MVP - ASP.NET
    "Sam Bab" <sbabwany@hotmail.com> wrote in message
    news:u83EtEz0EHA.3708@TK2MSFTNGP14.phx.gbl...
    > I have one workstation which holds some text files and I want to merge
    these
    > files into one text file and want to print data from merged text file into
    > aspx page. The aspx is using local aspnet account which does not have
    access
    > to shared network folder name (\\computername\folder). What is the best
    way
    > to do this?
    >
    > SB
    >
    >
    

  • Next message: Mark Petruszak: "DPAPI"

    Relevant Pages

    • ASP.NET process identity does not have read permissions to the global assembly cache
      ... not have read permissions to the global assembly cache. ... I have checked the permissions, the ASPNET account has read on C:\, and Read ... Viewer" shell extension and checked the security on the folders in the GAC, ... I've been able to get ASP.NET working on a couple of similar machines with ...
      (microsoft.public.dotnet.framework.aspnet)
    • RE: File creation error
      ... ASP.NET worker process is using ASPNET account. ... privillege to access other machines ... Maybe you should use impersonation by add the line ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • RE: ASP.NET Accessing shares
      ... The machines are not part of a domain so the ASPNET account is only on the ... web server and therefore I cannot give permissions to the user directly on ...
      (microsoft.public.dotnet.framework.aspnet)