Filters and security
An intent filter cannot be relied on for security. While it opens a component to receiving only certain kinds of implicit intents, it does nothing to prevent explicit intents from targeting the component. Even though a filter restricts the intents a component will be asked to handle to certain actions and data sources, someone could always put together an explicit intent with a different action and data source, and name the component as the target.在 android的官方文档上发现一段话, 不知道怎样去翻译理解,
尤其是 :it does nothing to prevent explicit intents from targeting the component.
An intent filter cannot be relied on for security. While it opens a component to receiving only certain kinds of implicit intents, it does nothing to prevent explicit intents from targeting the component. Even though a filter restricts the intents a component will be asked to handle to certain actions and data sources, someone could always put together an explicit intent with a different action and data source, and name the component as the target.在 android的官方文档上发现一段话, 不知道怎样去翻译理解,
尤其是 :it does nothing to prevent explicit intents from targeting the component.
解决方案 »
- 如何理解资源引用中的@和?
- 网上这段 获取Android ip地址的代码 没注释 看不懂 谁能给我解释下?谢谢
- 想转了,j2ee到android
- HELP!求助!菜鸟求助!
- android listView
- 提高程序性能[android]
- listview死活显示不出来数据。
- android编译报错,make: *** No rule to make target `prelink-linux-x86.map',
- 冰天雪地五花大绑裸跪求从ANDROID从SQLITE读取有'\n'的方法
- android开发适配各种双卡手机真烦啊
- android 怎么挂再mtd分区,
- listview中加载网络图片问题
intent-filter ,可知为 意图过滤器intent ,连接组件的桥梁,即一个组件启动另一个组件需要intent,
如Activity 启动activity : intent.setClass(a.this,b.class);startActivity(intent);
Activity启动service: intent.setClass(a.this,b.class);startService(intent);详细内容:
http://hi.baidu.com/lizhengjun2010/blog/item/2f458c05393758ce267fb557.html
it does nothing to prevent explicit intents from targeting the component意思大概是:
the intent filter根本不能阻止一些显式的intent到达组件上