cleo-凡事从积极的态度做起

学习,学习,学习 BI/biztalk/infopath/sharepoint,呵呵。 学习没有止境。。。

导航

2007年3月26日 #

SharePoint v3:忘掉模拟用户Impersonate,SPSecurity.RunWithElevatedPrivileges来了

摘要: 回顾: 在SharePoint V2 大家应该都用过模拟用户Impersonate这个功能, 这个功能用来暂时提升某个用户的权限,比如某个普通用户的本来不能修改某个列表的值,但是我们功能需要在修改。 缺点: 我们使用这个模拟用户功能时候,经常是明文保存用户名密码,是个安全隐患。 更加气愤的是,据我所知,在匿名用户访问状态下面,根本不能够模拟成功。 V3解决办法: Elevation of Privilege Elevation of privilege is a new feature of that enables you to programmatically perform actions in code using an increased level of privilege. The Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges method e 阅读全文

posted @ 2007-03-26 09:33 无为而为-凡事从积极的态度做起 阅读(2297) 评论(4) 推荐(0) 编辑