Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mapped Network Drives NOT visible
Message
De
18/05/2018 15:01:59
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
18/05/2018 05:52:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 10
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01660055
Message ID:
01660121
Vues:
45
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform