Partilhar via


Windows Forms Security

Windows Forms features a security model that is code-based (security levels are set for code, regardless of the user running the code). This is in addition to any security schemas that may be in place already on your computer system. These can include those in the browser (such as the zone-based security available in Internet Explorer) or the operating system (such as the credential-based security of Windows NT).

In This Section

  • Security in Windows Forms Overview
    Briefly explains the .NET Framework security model and the basic steps necessary to ensure the Windows Forms in your application are secure.
  • Default Security Policy
    Lists the default permissions granted in the Full Trust, Local Intranet, and Internet permission sets.
  • Secure Coding Guidelines
    Links to topics that explain the best practices for securely writing code against the .NET Framework.
  • Requesting Permissions
    Discusses the use of attributes to let the runtime know what permissions your code needs to run.