Still can't authenticate to remote server in VB.NET

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

I've been everywhere, but can't seem to find a solution to my problem....

When you browse to a folder on another machine, it challenges you for your
ID & Password (popup box). I'm writing a program that needs to access
folders on other machines. But all I get is "permission denied". The popup
box doesn't appear. I would guess that the remote machine is challenging my
app, but the app isn't responding (???).

What I want to do is be able to enter a UserID & Password into my app, then
have the app use that information to access the folders on the remote
machines.

This has to be possible, and someone out there must know how to do it. Can
anyone help?

Thanks!
 
Have you taken a look under impersonation?

Yeah, but impersonation only works if you have the profile on the local
computer. Let's say that the admin logon on the remote computer is "fast /
cars". That account doesn't exist on the local computer. I'm using the
local admin logon of "slow / trucks". I cannot impersonate "fast /cars" on
the local computer because that profile doesn't exist locally.

I hope i've explained it clearly and I hope I understand impersonation
correctly. As I understand impersonation, it loads the profile of the
account you are impersonating. If that account doesn't exist on the local
pc, you can't impersonate it.

Isn't impersonation what the SU & RunAs commands do?
 
Back
Top