Mozilla2:CAPSSecurity: Difference between revisions

Jump to navigation Jump to search
removing link-spam
(removing link-spam)
Line 108: Line 108:


If we were to do this at the implementation level, every time C++ called a datasource, they would have to QI that datasource to nsIClassInfo2 and call a method to see whether the rdfIDataSource interface was secured. If it was secured, they would have to set up a security stack. That is a lot more code, and slower, than simply pushing the system principal onto the stack and calling the method (push-pops off the security stack will almost-never involve allocations, and will be blazingly fast).
If we were to do this at the implementation level, every time C++ called a datasource, they would have to QI that datasource to nsIClassInfo2 and call a method to see whether the rdfIDataSource interface was secured. If it was secured, they would have to set up a security stack. That is a lot more code, and slower, than simply pushing the system principal onto the stack and calling the method (push-pops off the security stack will almost-never involve allocations, and will be blazingly fast).
[http://www.elie.com.cn 大学生?客]
[http://www.elie.com.cn/posts.htm?cateid=83 教育]
[http://www.elie.com.cn/posts.htm?cateid=82 游?]
[http://www.elie.com.cn/posts.htm?cateid=81 娱?]
[http://www.elie.com.cn/posts.htm?cateid=a0 新闻]
[http://www.elie.com.cn/posts.htm?cateid=84 ?康]
[http://www.elie.com.cn/posts.htm?cateid=78 旅游]
[http://www.elie.com.cn/posts.htm?cateid=76 商业]
[http://www.elie.com.cn/posts.htm?cateid=86 军事]
[http://www.elie.com.cn/posts.htm?cateid=85 体育]
[http://www.elie.com.cn/posts.htm?cateid=140 图片]
[http://www.elie.com.cn/posts.htm?cateid=79 男生女生]
[http://www.elie.com.cn/tonghua 童?]
[http://www.elie.com.cn/dianying  电影]
[http://www.elie.com.cn/caiyi 蔡?林]
[http://www.elie.com.cn/touwen 头文字d]
[http://www.elie.com.cn/qq qq]
[http://www.elie.com.cn/liuyi 刘亦?]
[http://www.elie.com.cn/mp3 mp3]
[http://www.elie.com.cn/cs cs]
[http://www.elie.com.cn/dianying1 dianying]
[http://www.elie.com.cn/qijian 七剑]
[http://www.elie.com.cn/huangse huangse]
[http://www.elie.com.cn/?宇春 ?宇春]
[http://www.elie.com.cn/yellow yellowpage]
[http://www.elie.com.cn/xiaoshuo ?说]
[http://www.elie.com.cn/xianjian 仙剑]
[http://www.elie.com.cn/xunqin 寻秦记]
[http://www.elie.com.cn/she S.H.E]
[http://www.elie.com.cn/hongchen 红尘有你]
[http://www.elie.com.cn/meinv 美女]
[http://www.elie.com.cn/yule yule]
[http://www.elie.com.cn/jiankang jiankang]
[http://www.elie.com.cn/tiyu tiyu]
[http://www.elie.com.cn/shangye shangye]
[http://www.elie.com.cn/junshi junshi]
[http://www.elie.com.cn/lvyou lvyou]
[http://www.elie.com.cn/youxi youxi]
[http://www.elie.com.cn/nvxing nvxing]
[http://www.elie.com.cn/周笔畅 zhoubichang]
[http://www.elie.com.cn/jiaoyu jiaoyu]
[http://www.elie.com.cn/cosmos ??]


== Todo: Implications for Threading and Event-handling ==
== Todo: Implications for Threading and Event-handling ==
125

edits

Navigation menu