如何授权客户端系统(浏览器)。有什么信息可以获得 [英] How to authorized client system (browser). What are the information can get

查看:96
本文介绍了如何授权客户端系统(浏览器)。有什么信息可以获得的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在开发像考勤一样的应用程序。我修复了系统的时钟输入/输出。



我如何识别,系统是否是授权系统。



有哪些信息可以了解客户端(浏览器)系统。如何授权系统?

解决方案

基本上,ASP.NET使用会话cookie(由浏览器发送)来确定用户是否经过身份验证。如果用户经过身份验证,根据他的角色,您可以在各种资源上定义他的授权。



您可能想了解 ASP.NET授权 [ ^ ]。 CodeProject上有一篇关于 ASP.NET身份验证和授权的文章很好[< a href =http://www.codeproject.com/Articles/98950/ASP-NET-authentication-and-authorizationtarget =_ blanktitle =New Window> ^ ]。

Hi

I am developing application like Time Attendance. I fixed the system for clock IN / OUT.

How can I identify, the system is authorized system or not.

What are the information can get about the client (browser) system. How can I authorize the system?

解决方案

Basically ASP.NET uses Session cookies (sent by the browser) to determine if a user is authenticated or not. If user is authenticated, based upon his role you can define his authorization on various resources.

You may like to read about ASP.NET Authorization[^]. There is a nice article on CodeProject about ASP.NET authentication and authorization[^] as well.


这篇关于如何授权客户端系统(浏览器)。有什么信息可以获得的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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