Re: Map network drive for user using VB/ASP.NET



In that case, attempting to map such 'drives' from a client-side script executed in a web-browser would open up such a can of worms from a security point of view that you would be, effectively, wruting your own letter of resignation.

To get things in perspective, how many users are you talking about and how many such requests do you receive per day, per week, per month etc.?


"Brian Nicholson" <BrianNicholson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:8C077B2E-DBD0-4E0C-AE76-6FAA8DD248AB@xxxxxxxxxxxxxxxx
Good question -- as far as I know, it's a matter of convenience. Users
constantly access the same network folders, and it's a pain to have to browse
to the folder each time something needs to be saved/accessed. Users call in
requesting to have a certain directory mapped as a drive, so it would be
convenient to have a web app that can do this for us.

"Patrice" wrote:

IMO your best would be to explain why you are trying to map a drive (i.e. I
mean the overall goal not the way you plan to this for now).

Do you try to map a drive server side ? I would avoid doing such a thing and
would use an UNC drive ? (do you REALLY need a mapped drive ???)

Do you try to map a drive client side ? It looks like it would be best
suitable to do that from the login script rather than using a web
application. If this is to be able to run scripts from a network share they
could be best placed on the NETLOGON share etc....

Knowing exactly what is the overall goal could raise better suggestions...

--
Patrice

"Brian Nicholson" <BrianNicholson@xxxxxxxxxxxxxxxxxxxxxxxxx> a crit dans le
message de groupe de discussion :
4B7E22F8-D4B3-4C1E-AD5D-C62D4447744D@xxxxxxxxxxxxxxxx
> "Mr. Arnold" wrote:
>
>>
>> I don't see why you couldn't use a generic user-id and psw that had >> admin
>> rights, but of course this application should never face the Internet.
>>
>>
>
> That's exactly what I would like to do, but I don't see how that could > be
> done with this class (or other methods I've found). If I were to > supply
> an
> admin username/password, it would map the drive to that admin user -- I
> want
> to perform this task under an admin account, but the drive should > actually
> be
> mapped for another user.
>
> As for doubting the impossibility of doing this without ActiveX, you > might
> be right -- I think the Microsoft MVP may have misunderstood what I was
> trying to do.



.



Relevant Pages

  • Re: troubleshoot a script
    ... I see you use the memberOf attribute. ... ' map appropriate drives. ... The part of the script that will not work for the 3 ...
    (microsoft.public.scripting.vbscript)
  • Unable to remove remembered drives
    ... The script is completely finished and works perfectly if I ... It turned out that it couldn't map the drive for some ... appears I cant remove these remembered drives, ... Set fso = Createobject ...
    (microsoft.public.scripting.vbscript)
  • Drive Mapping Script Not working
    ... I have a script that maps drives based on a machines name here is a sample ... net use and map the share correctly net use reports the share to already be ...
    (microsoft.public.windows.server.scripting)
  • Re: User Independent Mapped Drive
    ... OU that runs a batch file to map the drives. ... server of where they're from. ... script, ...
    (microsoft.public.windows.server.networking)
  • RE: Local user corruption
    ... Can you use a batch file to map the drives as the domain logon script? ... You can use "net use" to map a network drive. ...
    (microsoft.public.windows.server.migration)

Loading