Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapped Network Drives NOT visible
Message
From
18/05/2018 15:01:59
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
18/05/2018 05:52:30
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 10
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01660055
Message ID:
01660121
Views:
44
>>It's worth noting that using NET USE is a quick, power-user way to work around these types of problems. You can add a flag to the end of a NET USE command to make sure it's remembered:
>>
>>NET USE blah blah /persistent:y
>>
>
>Technically spot on as usual -
>
>>You should also be careful to map drives (either in the shell or via NET USE) using the account that will normally be running your app. If instead you use batch commands that are run as Administrator, either interactively or as scheduled jobs those drive mappings may not appear in the "normal" user profile.
>
>but here I'd go a step further: I create batch files in discrete directories to be run via specific credentials, so most of the problems you point at are given no chance ;-)

I do that too but that comes with a choice:

- Let the user manually enter the user name and password (usually to a different host name\account), or

- Include the account/password clauses of NET USE in the batch file, which can be a security vulnerability

It's exactly this sort of management issue that makes using a real server and Windows domain appealing.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform