Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Authenticate user in the operating system
Message
From
08/10/2001 04:52:01
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00565368
Message ID:
00565390
Views:
16
It is not my business to question our customer's security policy. If they want to authenticate the user every time he/she starts an application in Windows my job is to solve the problem.

We have received a specification from the customer in which they say that the system must work this way. So again, is there anyone that knows how this could be done?

Any help is much appreciated
/Peter Rosberg

>Hi!
>
>Why authenticate user in the domain when he/she already logged into the system because running VFP app? Do you want protect applicatoin from running app by somebody when user gone to drink coffee? ;)
>
>>Hi Vlad!
>>
>>Thank you for your answer.
>>
>>I think I was a bit vague in my question. The thing I want to do is when the user enters username and password in our application I want to validate this in the domain.
>>
>>/Peter Rosberg
>>
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform