惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
T
Threatpost
C
CERT Recently Published Vulnerability Notes
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Security Archives - TechRepublic
Security Archives - TechRepublic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
K
Kaspersky official blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
Project Zero
Project Zero
H
Heimdal Security Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Know Your Adversary
Know Your Adversary
Google Online Security Blog
Google Online Security Blog
W
WeLiveSecurity
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Schneier on Security
Schneier on Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
N
News | PayPal Newsroom
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
L
LINUX DO - 热门话题
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
Cloudbric
Cloudbric
V
Vulnerabilities – Threatpost
Hacker News: Ask HN
Hacker News: Ask HN
S
Securelist
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
TaoSecurity Blog
TaoSecurity Blog
NISL@THU
NISL@THU
N
News and Events Feed by Topic
S
Security Affairs
The Last Watchdog
The Last Watchdog
T
Tor Project blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
The Exploit Database - CXSecurity.com
Simon Willison's Weblog
Simon Willison's Weblog
P
Palo Alto Networks Blog
AWS News Blog
AWS News Blog
P
Proofpoint News Feed
C
Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
L
LINUX DO - 最新话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tenable Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Schneier on Security

博客园 - 洪虎

Windows环境下安装Python 建立批命令快速修改本机IP地址 网络经典命令 - 洪虎 - 博客园 “指定域的名称或安全标识SID与该域的信任信息不一致”的解决方法 建立主DNS区域和辅助DNS区域的最佳实践 无人职守安装 XP 电脑黑客基本技术和入侵的关键字以及电脑攻防应用 建立一个可修改Windows域用户密码的web页面 修复SQL2000中损坏的表 将Excel转换为CSV的VBA代码 - 洪虎 - 博客园 用命令检查电脑是否被安装木马 DateTime.ToString 方法 - 洪虎 - 博客园 在C#中自定义异常 - 洪虎 - 博客园 使用DataDynamics.ActiveReports 创建子报表 错误的SQL脚本,错误消息 4104 - 洪虎 - 博客园 适配器模式 委托模式 接口模型 使用反射检查程序集,实现自动更新
如何在 Reporting Services 开发基于用户权限的报表呢?
洪虎 · 2006-10-14 · via 博客园 - 洪虎

Reporting Services 是报表集中化管理的一个很好的工具。但现在有一个项目要求对同一个报表需要按照不同登录者所管辖的区域,分别给予不同的授权。也就是说报表输出的格式大家看到的都一样,但是要根据登录者不同的部门或区域给出他们各自管辖区域的统计结果。

例如:一个销售报表用于统计每个门店,每日销售的数量和金额。那么总监级别的人员就可以看到所有店铺的销售数据,但是负责广东区域的区域经理就只能看到广东区所有店铺的销售数据,负责广西的区域经理只能看到广西区所有店铺的销售数据,再往下走各个城市的销售主管就只能看到他们自己的城市的所有店铺的销售数据。

我是这样规划的,使用Reporting Services与AD集成的权限,在AD中将这些用户按照部门和区域进行分组。然后在Reporting Services中建立一个树型目录如下图。

销售部
       销售总监
       广东区
               深圳
               广州
      广西区
              南宁
              柳州

接着分别给这些目录授予不同部门分组使用者的权限,这样以来被授权使用报表的用户就能够根据各自的权限进入各自的目录。但是现在的问题在于如何做这样一个报表,在统计时获取当前用户的相关信息来判断他在AD中的组别,然后根据这个信息再销售数据中进行筛选,过滤出与当前用户授权相对应的数据。

小弟初学Reporting Services不知道它能否实现我的这个想法呢?请教各位高手指点,不胜感激。

洪虎

2006-10-14