登录窗口之前验证用户 [英] verify user before login windows

查看:100
本文介绍了登录窗口之前验证用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hii ...
我正在研究LAB管理系统.当用户尝试登录PC时,我想验证他/她是否已从服务器获得授权.我不知道从哪里开始.
我正在使用wcf在客户端和服务器之间进行通信.
有人可以帮我吗?????????????????????服务响应中的授权标志.


您不控制用户使用wcf服务访问计算机的权限.这就是操作系统的工作.将用户置于适当的组中(可能是最好的方式)并以此方式进行控制,或者阻止该人首先登录.


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.??

解决方案

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.


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.


这篇关于登录窗口之前验证用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆