Impersonation again

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    #1

    Impersonation again

    I had an earlier post with complicated steps, so I've stepped back to
    something more simple.
    VS2003, Win2003 server, XP clients
    I create a web share on the server and give it all permissions. I enter this
    string in the run box off the start menu and, Win 2003 server prompts me to
    logon, and I enter username and password of an account on the standalaone
    server and I get a file listing.
    ....http://www.myserver.com/dummy
    How can I do this through vb.net without using a sendkey scenario? I've
    tried WNetAddConnecti on2 but that does not appear to work with a web
    address, (or I don't know how to get it to). I've tried many diff. params
    with the NETRESOURCE struct to no avail, even used IP address instead of
    URL. Any other way to do this?
    Thanks,
    BUC





Working...