Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Authenticate user in the operating system
Message
 
 
À
08/10/2001 02:41:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00565368
Message ID:
00565369
Vues:
34
Hi!

VFP application access VFP database through network, right?
Make a network share on the server machine. Grant users of this application sequrity rights to access that network share. In the VFP app use sys(0) to see what user is currently logged in. All other leave for system.

The trick here is that user can access network resources only after user logon on the machine. The VFP database accessed through network is not exception here. When you need to disable certain features for certain users, just yse sys(0) VFP function to see what user is logged on currently, however for this you will require separate administrating module anyway, because you will not be able to add new configuring options to the system sequrity (like defining which users can access particular part of your application). Well you can organize this too, but this will not be so obvious and intuitive for administrators (make separate network share for each particular functionality in your applicaion that you want to disable for certain users. In application check if user have access to that share, if not - feature not available).

>Does anyone have any idea how I can authenticate a user in 98/Me/NT 4/2000 from VFP6/VFP7?
>
>We have a customer with lots of users and they don't want to administer the user access in both our system and the operating system.
>
>Maybe someone can point me in the right direction.
>
>Thanks
>/Peter Rosberg
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform