Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for user permission on the network drive.
Message
 
À
20/10/1997 15:11:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00055552
Message ID:
00055751
Vues:
32
>>>I wrote a program in vfp50 for my users. Now they want only certain
>>>people to be able to use this program. I can do this by keeping a table on the network drive. My question is, how do I check this
>>>network drive to see if the user name is there? I know how to
>>>get the user name from the network sign on. I need a way to set the path, but I do not know what the path will be.
>>>Any ideas?
>>
>>You shouldn't know, what drive will be used. It's enough to give your users pirivileges (on system network level) to appropriate network drive, and tool to reconfigure (if necessary) the path interactively.
>
>Hi Ed - you are right, I guess I will have to write another function to let them reconfigure the path.
>thanks for answering ... :)

Also, be aware that making it obvious how the "user" file works it not good security...in other words, if you simply have a USERS.DBF file with one field called USERNAME, and in the file is simply the names of authorized users, then all an un-authorized user has to do is get into the file, add a record, and add his/her name....I think the easiest way to do this would be to encrypt the username...so if someone looks at the USER file, they won't know how to add themself...just a thought...

Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform