Re: Network File access using anonymous access

From: Raterus (raterus_at_spam.org)
Date: 07/22/04


Date: Thu, 22 Jul 2004 11:37:03 -0400

First off, you can't set permissions for the aspnet user on a remote computer, it is a computer-level account, not a domain account. Take a look at this article

http://support.microsoft.com/default.aspx?scid=kb;en-us;306158

You can specify a domain username/password using the second example on this page, and access the remote resource only when you need it. All the other times, the webservice won't have any access.

--Michael

"Tim Menninger" <tmenninger@forensicsexplorers.com> wrote in message news:em6$cx$bEHA.3420@TK2MSFTNGP12.phx.gbl...
> I have seen a number of entries related to accessing remote resources (files
> in my case) that need to reside on a remote server. We must leave our files
> on a remote server due to their size. All of the solutions that I have run
> across have used impersonation with some type of windows or forms based
> security in the ASP.NET application. Our application does not require user
> authentication so we use never collect usernames and passwords. The
> application trying to access the remote resource is a webservice but I do
> not want to grant the entire web service access to the remote resource.
>
> Is there a way to set full access to a particular remote resource directory
> that the ASPNET user has access to or a way to specify a username and
> password at runtime when I access the remote resource?
>
> Thanks,
>
> Tim
>
>



Relevant Pages

  • Re: The system cannot log you on - domain is not available
    ... The Windows XP Pro laptop was configured and joined to my ... I've checked and neither Remote Assistance nor Remote ... the domain account he gets the messsage below. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Copy file to remote PC
    ... You need to run your program in a domain account with appropriate privileges to access the remote share. ... If you don't run in a domain account, you will have to create a logon session ) and impersonate a domain account. ... For instance when you issue following command: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Copy file to remote PC
    ... Don't know what RPC has to do with this. ... You need to run your program in a domain account with appropriate privileges ... In your program all you need to do is specify the UNC path of the remote ... For instance when you issue following command (from the command line or by ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ASP .Net ID and DCOM object creation on remote COM+ server
    ... > ASP .Net app and will need to instantiate a DCOM object on a remote ... > ASPNet ID and thus is not authenticateable by the remote server...thus ... Run the site under a domain account. ... Set the password on ASPNET ID. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Authenticating from a workgroup
    ... I need to access SQL Server on a remote machine as my domain ... Is there a way to log into a domain account when my laptop is not a member ... I'm using my personal laptop on my customer's network. ... to authenticate against a domain from a workgroup computer? ...
    (microsoft.public.win32.programmer.networks)