还可利用内建在 CLR中的代码访问安全性。
You can also take advantage of the code access security that's built into the CLR.
代码访问安全性来限制对计算机资源的访问。
Code access Security to limit access to resources on a machine.
当禁用代码访问安全性时,所有代码访问要求都会成功。
When code access security is disabled, all code access demands succeed.
代码访问安全性的权限检查基于所有调用方对堆栈的权限进行。
Code access security bases its permission checks on the permissions of all the callers on the stack.
代码访问安全性会帮助限制代码对受保护的资源和操作的访问。
Code access security helps limit the access that code has to protected resources and operations.
不正确管理代码访问安全性(CAS)策略可能会导致安全漏洞。
Improperly administering code access security (CAS) policy can potentially create security weaknesses.
如果设计类库,则需要了解代码访问安全性,并仔细地保护您的类库。
If you design class libraries, you need to understand code access security and be careful to secure your class library.
例如,具有代码访问安全性权限的本地应用程序可能不具有操作系统权限。
For example, a local application that has the code access security permission might not have operating system permission.
禁用代码访问安全性会使系统容易受到恶意代码(如病毒和蠕虫)的攻击。
Disabling code access security makes the system vulnerable to attacks by malicious code such as viruses and worms.
如果在并行区域外部应用CLR代码访问安全性特性,它在并行区域内将无效。
If you apply a CLR code access security attribute outside a parallel region, it won't be in effect in the parallel region.
如果是,则包装它的托管代码必须请求所需的权限,才能输入代码访问安全性。
If it does, the managed code wrapping it must demand the necessary permissions before allowing it to be entered.
代码访问安全性策略配置状态分为三个管理策略级别:企业、计算机和用户策略。
Code access security policy configuration state consists of three administrative policy levels: enterprise, machine, and user policy.
代码访问安全性还有助于最大限度地减少由于代码中的安全脆弱性而造成的损害。
Code access security can also help minimize the damage that can result from security vulnerabilities in your code.
使用代码访问安全性,可以减小恶意代码或包含错误的代码滥用您的代码的可能性。
Using code access security can reduce the likelihood that your code will be misused by malicious or error-filled code.
代码访问安全性(CAS)是帮助限制代码对受保护资源和操作的访问权限的一种机制。
Code access security (CAS) is a mechanism that helps limit the access that code has to protected resources and operations.
托管代码使用代码访问安全性(CAS)、代码链接和应用程序域来阻止程序集执行某些操作。
Managed code USES code Access Security (CAS), code links, and application domains to prevent assemblies from performing certain operations.
代码访问安全性使代码可以根据它所来自的位置以及代码标识的其他方面,获得不同等级的受信度。
Code access security allows code to be trusted to varying degrees, depending on where the code originates and on other aspects of the code's identity.
如果使用早期代码访问安全性规则(级别1)的程序集完全受信任,则可以调用级别2安全关键类型和成员。
Assemblies that use earlier code access security rules (level 1) can call level 2 security-critical types and members if they are full trusted.
通过该方法,您可以受益于托管环境,在该环境中执行完全编译的基于. NET的应用程序,其中包括代码访问安全性。
Along the way you get the benefits of the managed environment in which a fully compiled.net-based application executes, including code access security.
除非完全信任的应用程序标记为安全-透明,否则它们不受代码访问安全性的影响,因为它们是完全受信任的。
Full-trust applications are not affected by code access security unless they are marked as security-transparent, because they are fully trusted.
代码访问安全性将影响面向公共语言运行时的所有托管代码,即使该代码不执行代码访问安全性权限的单项检查。
Code access security affects all managed code that targets the common language runtime, even if that code does not make a single code-access-security permission check.
您可以手动编辑策略文件,也可以使用代码访问安全性策略工具管理企业级别、计算机级别或用户级别的安全策略。
You can edit policy files by hand or you can use the Code Access Security Policy tool to administer security policy for the enterprise, machine, or user levels.
代码访问安全性还可让您应用程序可以执行的操作进行更好的控制,原因是您可以仅指定您需要应用程序具有的权限。
Code access security also gives you more control over what actions your application can perform, because you can specify only those permissions you need your application to have.
也可使用该页面上的SecuritySettings链接以不使用向导提供的默认值,来为项目设置必要的代码访问安全性。
You can also use the security Settings link on this page to bypass the wizard's default offer to set up the necessary code access security for your project.
当然,使用托管代码的主要的好处之一是对代码访问安全性的支持,并且在您的程序集中编写的代码可利用用户的安全策略。
Of course, one of the main benefits of using managed code is the support for code access security, and code you write in your assembly takes advantage of the user's security policies.
公共语言运行库(CLR)提供了供代码在其中运行的类型安全环境,以及用于进一步限制托管代码权限的代码访问安全性(CAS)。
The common language runtime (CLR) provides a type-safe environment for code to run in, with code access security (CAS) to restrict further the permissions of managed code.
文章提供了。NET框架安全性方面的概述,具体讲述基于角色的安全性、代码访问安全性、验证、堆栈审核、隔离存储、加密等方面的核心安全技术。
This paper provides an overview of security in the. NET Framework and in particular, role-based security, code access security, verification, stack walking, isolated storage and cryptography.
代码访问安全性使用权限来执行对资源的访问,因此,应考虑API是否使用文件、用户界面或线程处理,或者代码访问安全性是否允许公开受保护的信息。
Code access security USES permissions to enforce access to resources, so consider whether the API USES files, a user interface, or threading, or whether it exposes protected information.
代码访问安全性使用权限来执行对资源的访问,因此,应考虑API是否使用文件、用户界面或线程处理,或者代码访问安全性是否允许公开受保护的信息。
Code access security USES permissions to enforce access to resources, so consider whether the API USES files, a user interface, or threading, or whether it exposes protected information.
应用推荐