You can prevent this vulnerability by ensuring that on-demand scripts are validated and that content generated from the scripts is encoded properly to prevent execution of malicious code.
通过确保按需脚本被验证并确保从那些脚本生成的内容被适当编码以阻止恶意代码的执行,您可以避免这类漏洞。
With code generation, you can also build validation into the constructed classes, either automatically checking values when they are set or checking validity on demand.
用代码生成,您还可以将验证构建进所构造的类中,从而要么自动检查值(当设置好它们时),要么按照需要检查有效性。
Merseyside Police have launched something similar which allows citizens access to information on an on-demand basis, post code enabled search and features to report crime patterns.
Merseyside Police已经投入运行了类似的网站,允许市民根据需求访问信息,提供支持邮编的搜索以及报告犯罪模式的特性。
This article shows you how to create an IRC bot in PHP that can tell you the weather on demand for your ZIP code.
本文向您展示如何在PHP中创建一个IRC聊天机器人(bot),用于以向您告知按邮政编码查询的天气情况。
At startup, the on demand configuration code inside the secure proxy reads the static route file and builds the in-memory routing data.
在启动后,安全代理内部的随需应变配置代码将读取静态路由文件并构建内存路由数据。
A demand causes the runtime to perform a security check to enforce restrictions on calling code.
要求使运行时执行安全检查,从而对调用代码实施限制。
A link demand performed on a static class constructor does not protect the constructor because static constructors are called by the system, outside the application's code execution path.
对静态类构造函数执行的链接要求不会保护该构造函数,因为静态构造函数是由系统调用的,它们并不包括在应用程序的代码执行路径中。
This is a very powerful capability because it enables an on demand extension (see Resources) of existing design and code.
这是一个非常强大的功能,因为它支持现有设计和代码的按需扩展(参见参考资料)。
Based on the demand of present code, using the calculation of bearing capacity of pile shaft and subgrade bearing capacity for pile, vertical experimental load of embedded rock pile is ensured.
采用现行规范规定的对桩身承载力和地基土对桩的支承阻力两项的计算,确定嵌岩桩竖向抗压静载试验的试验荷载。
Based on the demand of present code, using the calculation of bearing capacity of pile shaft and subgrade bearing capacity for pile, vertical experimental load of embedded rock pile is ensured.
采用现行规范规定的对桩身承载力和地基土对桩的支承阻力两项的计算,确定嵌岩桩竖向抗压静载试验的试验荷载。
应用推荐