A Model -Based Approach to Automated Testing of Access Control Policies

Dianxiang Xu, Lijo Thomas, Michael Kent, Tejeddine Mouelhi, Yves Le Traon. SACMAT’12

本文工作:
本文作者提出了基于模型的方法测试Access Control Policies。采用的模型是PrT网。PrT网是Petri网的简化,它由places,transitions和arcs构成。
每一个place中包含一个token的集合,所有place中token的集合为一个marking。每一个arc上被标记了参数表。当起始place中包含了边上参数的
具体值,则对应的transition被激活(enabled),一个被激活的transition被fired,firing一个transition,同时伴随着两种操作:
1、将输入place中的tokens都删掉;
2、向输出place中加入tokens;

本文对RBAC进行建模和测试。一条Access Rule的形式是<r, o, a, c, t>,r表示角色,o表示对象或者资源,a表示动作,c表示上下文环境,t表示允许
(permission)或者拒绝(prohibition)。
PrT网通过transition,前置条件和后置条件来刻画一条规则对应的活动。前置条件和后置条件由place来描述,当place中包含具体的token时,表示条
件满足。例如学生角色的某条规则 ,表示学生在工作日的借书活动是被允许的,可以用如下
PrT网来描述:
起初available中放置Book1,day中放置WD,borrowed中没有token。根据transition被激活的条件,此时transition BorrowBook被激活,同时available
中的Book1被拿走,放到borrowed中。

为待测试police建立好模型后,就要从模型生成测试用例。从模型直接得到的测试用例是抽象的,即不能直接作为系统的输入带入到系统中执行。作者建立了
模型元素到代码块的映射,从而实现了从抽象测试输入到可执行测试输入的转换。

本文贡献:
1、设计了自动化构建RBAC PrT模型的方法;
2、实现了由PrT模型自动生成可执行测试用例的方法;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Machine Learning projects our ultimate desire to understand the essence of human intelligence onto the space of technology. As such, while it cannot be fully understood in the restricted field of computer science, it is not necessarily the search of clever emulations of human cognition. While digging into the secrets of neuroscience might stimulate refreshing ideas on computational processes behind intelligence, most of nowadays advances in machine learning rely on models mostly rooted in mathematics and on corresponding computer implementation. Notwithstanding brain science will likely continue the path towards the intriguing connections with artificial computational schemes, one might reasonably conjecture that the basis for the emergence of cognition should not necessarily be searched in the astonishing complexity of biological solutions, but mostly in higher level computational laws. Machine learning and information-based laws of cognition. The biological solutions for supporting different forms of cognition are in fact cryptically interwound with the parallel need of supporting other fundamental life functions, like metabolism, growth, body weight regulation, and stress response. However, most human-like intelligent processes might emerge regardless of this complex environment. One might reasonably suspect that those processes be the outcome of information-based laws of cognition, that hold regardless of biology. There is clear evidence of such an invariance in specific cognitive tasks, but the challenge of artificial intelligence is daily enriching the range of those tasks.While no one is surprised anymore to see the computer power in math and logic operations, the layman is not very well aware of the outcome of challenges on games, yet. They are in fact commonly regarded as a distinctive sign of intelligence, and it is striking to realize that games are already mostly dominated by computer programs! Sam Loyd’s 15 puzzle and the Rubik’s cube are nice examples of successes of computer programs in classic puzzles. Chess, and more recently, Go clearly indicate that machines undermines the long last reign of human intelligence. However, many cognitive skills in language, vision, and motor control, that likely rely strongly on learning, are still very hard to achieve.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值