用户角色和用户跟踪 [英] user role and user tracking

查看:93
本文介绍了用户角色和用户跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何跟踪用户活动.
登录后的意思.
他访问过的所有页面的网址.他在该页面上执行的操作,例如更新,删除或查看.
并将以上记录保存到数据库中,并以网格或页面形式显示给admin.
特定用户的所有记录.



其次是如何限制用户访问他可以访问的页面.他可以在该页面上执行哪些操作.

控制级别限制和页面级别限制.

任何人都可以给我关于这件事的想法.
或任何示例


在此先谢谢您.

How to track user activity.
Means after login .
Url of all the pages he visited.Action perform by him on that page like update or deleted or view.
and save the above record in database and display it in grid or in page to admin .
all the record of a particular user.



and second thing how to restrict user, that which page he can visited.Which action he can perform on that page .

control level restriction and page level restriction.

can any give me idea about this thing .
or any example


Thanks in advance .

推荐答案

使用 ^ ]

跟踪可能会更复杂.最好的方法可能是构造一个自定义HTTPHandler来拦截请求并将其记录.
Restricting users is relatively easy with ASP.NET authentication and authorization[^]

Tracking though can be a bit more complicated. Possibly the best way would be to construct a custom HTTPHandler to intercept requests and log them.


这篇关于用户角色和用户跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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