代码审计、加密的广泛应用和谨慎的配置选择等设计原则共同确保了OpenBSD的“默认即安全”原则仍然有效。
Design principles, such as code auditing, extensive use of encryption, and careful configuration choices, combine to ensure that OpenBSD's secure-by-default philosophy holds true.
我们的审计检查了“红色代码”修订是否存在,检查了反病毒软件并且抽取出它的版本。
Our audit checks for the presence of the Code Red fix, checks for anti-virus software, and extracts its version.
通过与审计报告和用户执行的代码部署历史集成,可以进一步增强这一方法。
This approach can be further enhanced by integrating with the audit reports and the history of code deployment performed by the users.
通过添加一些额外的代码到DAO就可以写下相关的细节到审计数据库内。
By adding extra code into the DAO to write all relevant details out to the AUDIT database.
如果您想给这些没有管理权限的用户显示审计信息,就需要用前一篇文章中代码提升权限的方法,以便使上述代码可以顺利执行。
If you want to show audit information to user who do not have administrator permissions, you must write code to elevate privilege so that your code can succeed.
本文的代码示例(在下载中可以获得完整的代码包)演示如何使用这些接口帮助执行审计和减少数据访问对象(DAO)中的代码重复。
This article's code examples (see Download to obtain the full package) show how to use these interfaces to facilitate auditing and reduce code duplication in data access objects (DAOs).
尽管为这些字段提供了getter和setter方法,但是审计代码中实际上不使用这些方法。
Although getter and setter methods are provided for these fields, they are never actually used in the auditing code.
这个特性比较难的部分是,决定在代码中的什么地方设置审计信息。
The more difficult part of this feature is figuring out where in the code to set the auditing data. For this you have a few choices.
审计代码的教训:设法关闭register_globals。
The lesson for auditing code: Try to turn register_globals off.
如果一个在设计图形部门的用户突然开始访问审计程序或者是编译代码,那么系统就能向管理者报警。
If a user in the graphics department suddenly starts accessing accounting programs or compiling code, the system can properly alert its administrators.
有代码被审计?
源代码安全审计,检测代码中的漏洞,可以 检测C, C++,Perl,PHPand Python 代码中的漏洞和安全错误,搞网络安全的一定要看看。
Source code security audit to detect loopholes in the code, can detect the C, C++, Perl, PHP and Python code errors and security vulnerabilities, network security must engage in to look at.
源代码安全审计,检测代码中的漏洞,可以 检测C, C++,Perl,PHPand Python 代码中的漏洞和安全错误,搞网络安全的一定要看看。
Source code security audit to detect loopholes in the code, can detect the C, C++, Perl, PHP and Python code errors and security vulnerabilities, network security must engage in to look at.
应用推荐