07-14-2003, 10:58 AM | #1 (permalink) |
Tilted
Location: Louisville, KY
|
Share path with password
Ok, I need some help here. I want to be able to give users a link to a share ( //12.12.12.12/DATA ) for example. But I want the link to contain a user id and password. ( Something like //12.12.12.12/DATA -u WetSpot -p wet1 , or something of the like.) Now, here is the rub - it is in a mixed 98/nt environment. I think that there is a way to do it with the net user cmd, but I can't seem to put my finger on it. And net user is only supported under 98, no? There has to be some way to do this.
Thanks! WetSpot the evermoist. |
07-14-2003, 12:13 PM | #2 (permalink) |
Right Now
Location: Home
|
You can do it with FTP, only if NT has IIS and FTP running.
ftp://usernameassword@12.12.12.12/DATA Won't work otherwise. |
07-14-2003, 01:54 PM | #3 (permalink) |
Junkie
Location: North Hollywood
|
net use is supported on all recent windows OS from what i remember
you can mount samba style shares etc, using a username and password, though i'm not sure if you want too, lots of larger ftp sites used to do this, not sure if they still do. smbmount style Code:
NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]] [/USER:[domainname\]username] [/USER:[dotted domain name\]username] [/USER:[username@dotted domain name] [/SMARTCARD] [/SAVECRED] [[/DELETE] | [/PERSISTENT:{YES | NO}]] NET USE {devicename | *} [password | *] /HOME NET USE [/PERSISTENT:{YES | NO}] |
07-21-2003, 06:10 AM | #6 (permalink) |
"Officer, I was in fear for my life"
Location: Oklahoma City
|
You can use the net use command as charliex posted above or you can do it through the GUI.
First you need to make sure file and printer sharing is installed. This can be found by right clicking network neighborhood then selecting properties. If it's not installed, install it. Next go to the folder that you want to share, right click it and select sharing. Turn sharing on. On the Win98 box, the default is to select a password for read access or full access. Select the access type and enter a password. On the NT box, there should be a permissions button and then you can select the people you want to have access to that folder and set their access rights. The list comes from your domain user list. |
Tags |
password, path, share |
|
|