Click here to Skip to main content
15,905,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii...
I am working on a LAB MANAGEMENT SYSTEM. When user try to log into a pc I want to verify that he/she is authorized from server. I don't know where to start.
I am using wcf to communicate between client and server.
Can somebody please help me.??
Posted
Comments
Simon_Whale 23-Aug-11 7:16am    
Are the users PC's connected to an internal network or across the internet?

write a method in your WCF service to authorise him/her, return boolen, call the service on Login button and check for the authorization flag from service response.
 
Share this answer
 
Comments
XeeShaN AbbAs 23-Aug-11 10:32am    
thanks for your reply but I don't want user to login to computer in first place...
is there some kind of windows services that I have to modify or something...??
You don't control user access to a computrer with a wcf service. That's the operating system's job. Either put the user into an appropriate group (probably the best way) and control it that way, or prevent the person from logging on in the first place.
 
Share this answer
 
Comments
XeeShaN AbbAs 23-Aug-11 10:34am    
Thank you for reply... but can I do put user into a group in C# program...?
I've heard that there are some windows services that I've to modify...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900