Results 1 to 3 of 3

Thread: Attach a drive with new username/password?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    11

    Post

    I am developing some software in NT 4.0.

    I need to be able to map a drive within the program, but use a different id/password than the person that is currently logged on.

    Is there any way to do this that someone knows of? There's a posting on this site about a method that only accepts a password--but not a different username.

    Thanks,
    Jake

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    Download complete sample from http://smalig.tripod.com/vb/079912.html


    ------------------
    smalig
    [email protected]
    smalig.tripod.com

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    11

    Post

    Thanks for the link to that project. However...

    The sample project that you posted above still does not let me map the drive with a different *username*. That is the most vital part.

    For example: In NT 4.0, when you go to map a drive through Windows Explorer, it lets you pick the drive name, the path to that drive, and then you can also enter a username/id in the "CONNECT AS" box, which is the username that you want to connect as.

    Then, when you hit enter, it brings up a prompt asking for that user's password that you just entered.

    This is how I would like my program to be able to map the drive (with a password AND username that are chosen by me and are different than the currently logged in user).

    This way I can map a drive to a restricted server (with a special id/password), copy some files to it, and then disconnect it without the user ever having to know the special id/password. As it stands right now, the only other way around this is to have the user physically log on with the special id/password and run the program (this is not good!).

    Any help is appreciated. I've been searching for about 3 weeks now on how to solve this problem.

    Jake
    [email protected]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width