diff --git a/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml b/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml index 5b2231e9fe2..261061e51be 100644 --- a/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml +++ b/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml @@ -49,6 +49,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + This attribute class associates a , for example, `Demand`, with a custom security attribute. The types that derive from are used to help restrict access to resources or securable operations. diff --git a/xml/System.Security.Permissions/DataProtectionPermissionAttribute.xml b/xml/System.Security.Permissions/DataProtectionPermissionAttribute.xml index 18af706ef23..ffa5cce7473 100644 --- a/xml/System.Security.Permissions/DataProtectionPermissionAttribute.xml +++ b/xml/System.Security.Permissions/DataProtectionPermissionAttribute.xml @@ -32,6 +32,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the value that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. is used only for declarative security. For imperative security, use the class. diff --git a/xml/System.Security.Permissions/EnvironmentPermissionAttribute.xml b/xml/System.Security.Permissions/EnvironmentPermissionAttribute.xml index a6831fe0525..fcd2640791f 100644 --- a/xml/System.Security.Permissions/EnvironmentPermissionAttribute.xml +++ b/xml/System.Security.Permissions/EnvironmentPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class. diff --git a/xml/System.Security.Permissions/FileDialogPermissionAttribute.xml b/xml/System.Security.Permissions/FileDialogPermissionAttribute.xml index 67ac7e5dfe5..2a0914ad8de 100644 --- a/xml/System.Security.Permissions/FileDialogPermissionAttribute.xml +++ b/xml/System.Security.Permissions/FileDialogPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class. diff --git a/xml/System.Security.Permissions/FileIOPermissionAttribute.xml b/xml/System.Security.Permissions/FileIOPermissionAttribute.xml index d89ff24c562..3745407183d 100644 --- a/xml/System.Security.Permissions/FileIOPermissionAttribute.xml +++ b/xml/System.Security.Permissions/FileIOPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + Files and directories are specified using absolute paths. When accessing files, a security check is performed when the file is created or opened. The security check is not done again unless the file is closed and reopened. Checking permissions when the file is first accessed minimizes the impact of the security check on application performance because opening a file happens only once, while reading and writing can happen multiple times. The scope of the declaration that is allowed depends on the that is used. diff --git a/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml b/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml index bc1e67a497e..07a0857639c 100644 --- a/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml @@ -38,6 +38,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + This class is used to ensure that callers are registered in the global assembly cache (GAC). The scope of the declaration that is allowed depends on the value that is used. diff --git a/xml/System.Security.Permissions/HostProtectionAttribute.xml b/xml/System.Security.Permissions/HostProtectionAttribute.xml index aec7868070e..495c7e6f17e 100644 --- a/xml/System.Security.Permissions/HostProtectionAttribute.xml +++ b/xml/System.Security.Permissions/HostProtectionAttribute.xml @@ -38,6 +38,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + This attribute affects only unmanaged applications that host the common language runtime and implement host protection, such as SQL Server. If the code is run in a client application or on a server that is not host-protected, the attribute "evaporates"; it is not detected and therefore not applied. When applied, the security action results in the creation of a link demand based on the host resources the class or method exposes. > [!IMPORTANT] diff --git a/xml/System.Security.Permissions/IsolatedStorageFilePermissionAttribute.xml b/xml/System.Security.Permissions/IsolatedStorageFilePermissionAttribute.xml index 46eac0a8ebf..81f42069ad7 100644 --- a/xml/System.Security.Permissions/IsolatedStorageFilePermissionAttribute.xml +++ b/xml/System.Security.Permissions/IsolatedStorageFilePermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class. diff --git a/xml/System.Security.Permissions/IsolatedStoragePermissionAttribute.xml b/xml/System.Security.Permissions/IsolatedStoragePermissionAttribute.xml index d01627e71c9..73a22ebcdbc 100644 --- a/xml/System.Security.Permissions/IsolatedStoragePermissionAttribute.xml +++ b/xml/System.Security.Permissions/IsolatedStoragePermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + This class is an abstract base class. This class is never used instantiated; instead, classes that extend it and represent access to a particular type of isolated storage are used. The scope of the declaration that is allowed depends on the that is used. diff --git a/xml/System.Security.Permissions/KeyContainerPermissionAttribute.xml b/xml/System.Security.Permissions/KeyContainerPermissionAttribute.xml index 425a8c43859..208df6eb7db 100644 --- a/xml/System.Security.Permissions/KeyContainerPermissionAttribute.xml +++ b/xml/System.Security.Permissions/KeyContainerPermissionAttribute.xml @@ -38,6 +38,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the value that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. is used only for declarative security. For imperative security, use the class. diff --git a/xml/System.Security.Permissions/MediaPermissionAttribute.xml b/xml/System.Security.Permissions/MediaPermissionAttribute.xml index 281f9d36d64..2ec9c572af1 100644 --- a/xml/System.Security.Permissions/MediaPermissionAttribute.xml +++ b/xml/System.Security.Permissions/MediaPermissionAttribute.xml @@ -29,6 +29,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + controls the ability for audio, image, and video media to work in a partial-trust Windows Presentation Foundation (WPF) application. The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class, . diff --git a/xml/System.Security.Permissions/PermissionSetAttribute.xml b/xml/System.Security.Permissions/PermissionSetAttribute.xml index 89123da6aee..badf566c566 100644 --- a/xml/System.Security.Permissions/PermissionSetAttribute.xml +++ b/xml/System.Security.Permissions/PermissionSetAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The properties , , and are mutually exclusive, meaning that a permission set can have as its source only one of the following: a named permission set, a file containing an XML representation of a permission set, or a string containing an XML representation of a permission set. The scope of the declaration that is allowed depends on the that is used. A performed on a is the equivalent of performing that action on each of the permissions within the set. diff --git a/xml/System.Security.Permissions/PrincipalPermissionAttribute.xml b/xml/System.Security.Permissions/PrincipalPermissionAttribute.xml index 1c808014308..17343d1f098 100644 --- a/xml/System.Security.Permissions/PrincipalPermissionAttribute.xml +++ b/xml/System.Security.Permissions/PrincipalPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + can be used to declaratively demand that users running your code belong to a specified role or have been authenticated. Use of creates a with set to `true` and and set to `null`. The scope of the declaration that is allowed depends on the that is used. cannot be applied at the assembly level. diff --git a/xml/System.Security.Permissions/PublisherIdentityPermissionAttribute.xml b/xml/System.Security.Permissions/PublisherIdentityPermissionAttribute.xml index 8ad1ee382e4..16e22508dd5 100644 --- a/xml/System.Security.Permissions/PublisherIdentityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/PublisherIdentityPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The properties , , and are mutually exclusive. diff --git a/xml/System.Security.Permissions/ReflectionPermissionAttribute.xml b/xml/System.Security.Permissions/ReflectionPermissionAttribute.xml index bf8146f857a..108222ede79 100644 --- a/xml/System.Security.Permissions/ReflectionPermissionAttribute.xml +++ b/xml/System.Security.Permissions/ReflectionPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class. diff --git a/xml/System.Security.Permissions/RegistryPermissionAttribute.xml b/xml/System.Security.Permissions/RegistryPermissionAttribute.xml index 18ce63c2402..3e323d3aab3 100644 --- a/xml/System.Security.Permissions/RegistryPermissionAttribute.xml +++ b/xml/System.Security.Permissions/RegistryPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class. diff --git a/xml/System.Security.Permissions/SecurityAttribute.xml b/xml/System.Security.Permissions/SecurityAttribute.xml index 9db9c6f0501..ff5168c4014 100644 --- a/xml/System.Security.Permissions/SecurityAttribute.xml +++ b/xml/System.Security.Permissions/SecurityAttribute.xml @@ -45,7 +45,15 @@ Specifies the base attribute class for declarative security from which is derived. - To be added. + + [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + + ]]> + When you inherit from , you must override . diff --git a/xml/System.Security.Permissions/SecurityPermissionAttribute.xml b/xml/System.Security.Permissions/SecurityPermissionAttribute.xml index 72d4c87d40c..5498c10cc19 100644 --- a/xml/System.Security.Permissions/SecurityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/SecurityPermissionAttribute.xml @@ -49,6 +49,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class. diff --git a/xml/System.Security.Permissions/SiteIdentityPermissionAttribute.xml b/xml/System.Security.Permissions/SiteIdentityPermissionAttribute.xml index ab60d219f9c..2b1df830454 100644 --- a/xml/System.Security.Permissions/SiteIdentityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/SiteIdentityPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + Site identity is only defined for code from URLs with the protocols of HTTP, HTTPS, and FTP. A site is the string between the "//" after the protocol of a URL and the following "/", if present, for example, `www.fourthcoffee.com` in the URL `http://www.fourthcoffee.com/process/grind.htm`. This excludes port numbers. If a given URL is `http://www.fourthcoffee.com:8000/`, the site is `www.fourthcoffee.com`, not `www.fourthcoffee.com:8000`. Sites can be matched exactly, or by a wildcard ("\*") prefix at the dot delimiter. For example, the site name string `*.fourthcoffee.com` matches `fourthcoffee.com` as well as `www.fourthcoffee.com`. Without a wildcard, the site name must be a precise match. The site name string \* will match any site, but will not match code that has no site evidence. diff --git a/xml/System.Security.Permissions/StorePermissionAttribute.xml b/xml/System.Security.Permissions/StorePermissionAttribute.xml index ae5e68fcb7e..0641041ee37 100644 --- a/xml/System.Security.Permissions/StorePermissionAttribute.xml +++ b/xml/System.Security.Permissions/StorePermissionAttribute.xml @@ -34,6 +34,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the value that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. The attribute is used only for declarative security. For imperative security, use the class. diff --git a/xml/System.Security.Permissions/StrongNameIdentityPermissionAttribute.xml b/xml/System.Security.Permissions/StrongNameIdentityPermissionAttribute.xml index b4ddc233aa8..08c8acf99d0 100644 --- a/xml/System.Security.Permissions/StrongNameIdentityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/StrongNameIdentityPermissionAttribute.xml @@ -39,6 +39,8 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. > [!IMPORTANT] > Starting with the [!INCLUDE[net_v40_long](~/includes/net-v40-long-md.md)], identity permissions are not used. diff --git a/xml/System.Security.Permissions/TypeDescriptorPermissionAttribute.xml b/xml/System.Security.Permissions/TypeDescriptorPermissionAttribute.xml index 27d0d791ac5..f2f3ad903ef 100644 --- a/xml/System.Security.Permissions/TypeDescriptorPermissionAttribute.xml +++ b/xml/System.Security.Permissions/TypeDescriptorPermissionAttribute.xml @@ -29,7 +29,15 @@ Determines the permission flags that apply to a . - To be added. + + [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + + ]]> + diff --git a/xml/System.Security.Permissions/UIPermissionAttribute.xml b/xml/System.Security.Permissions/UIPermissionAttribute.xml index 3766f6757bc..c9ccccc6122 100644 --- a/xml/System.Security.Permissions/UIPermissionAttribute.xml +++ b/xml/System.Security.Permissions/UIPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class. diff --git a/xml/System.Security.Permissions/UrlIdentityPermissionAttribute.xml b/xml/System.Security.Permissions/UrlIdentityPermissionAttribute.xml index ffc69bf3870..44af23c1a8c 100644 --- a/xml/System.Security.Permissions/UrlIdentityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/UrlIdentityPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The complete URL is considered, including the protocol (HTTP, HTTPS, FTP) and the file. For example, http://www.fourthcoffee.com/process/grind.htm is a complete URL. The scope of the declaration that is allowed depends on the that is used. diff --git a/xml/System.Security.Permissions/WebBrowserPermissionAttribute.xml b/xml/System.Security.Permissions/WebBrowserPermissionAttribute.xml index 6d1987dd19c..3d005439b32 100644 --- a/xml/System.Security.Permissions/WebBrowserPermissionAttribute.xml +++ b/xml/System.Security.Permissions/WebBrowserPermissionAttribute.xml @@ -29,6 +29,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + controls the ability of a Web browser control to run in a Windows Presentation Foundation (WPF) application. The scope of the declaration that is allowed depends on the that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class, . diff --git a/xml/System.Security.Permissions/ZoneIdentityPermissionAttribute.xml b/xml/System.Security.Permissions/ZoneIdentityPermissionAttribute.xml index ba6fbd384c7..4cdb525d6d8 100644 --- a/xml/System.Security.Permissions/ZoneIdentityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/ZoneIdentityPermissionAttribute.xml @@ -39,6 +39,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + The scope of the declaration that is allowed depends on the that is used. > [!IMPORTANT] diff --git a/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml b/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml index 7bbf40bb823..26448789a21 100644 --- a/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml +++ b/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml @@ -44,6 +44,8 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. > [!NOTE] > The [!INCLUDE[net_v40_long](~/includes/net-v40-long-md.md)] introduces new security rules that affect the behavior of the attribute (see [Security-Transparent Code, Level 2](~/docs/framework/misc/security-transparent-code-level-2.md)). In the [!INCLUDE[net_v40_short](~/includes/net-v40-short-md.md)], all code defaults to security-transparent, that is, partially trusted. However, you can annotate individual types and members to assign them other transparency attributes. For this and other security changes, see [Security Changes](~/docs/framework/security/security-changes.md). diff --git a/xml/System.Security/SecurityCriticalAttribute.xml b/xml/System.Security/SecurityCriticalAttribute.xml index 63e56a8095e..c9bb7784f7d 100644 --- a/xml/System.Security/SecurityCriticalAttribute.xml +++ b/xml/System.Security/SecurityCriticalAttribute.xml @@ -43,6 +43,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + Security-critical operations are actions that affect code access security, such as elevation of privilege through suppression of code access security checks by using the method, calling unsafe managed code, and so forth. Either the attribute or the attribute must be applied to code for the code to perform security-critical operations. > [!NOTE] diff --git a/xml/System.Security/SecurityRulesAttribute.xml b/xml/System.Security/SecurityRulesAttribute.xml index 504620771df..13377417f24 100644 --- a/xml/System.Security/SecurityRulesAttribute.xml +++ b/xml/System.Security/SecurityRulesAttribute.xml @@ -35,6 +35,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + This class indicates which set of security rules the common language runtime should enforce for an assembly. For example, an assembly that is marked with `[SecurityRules(SecurityRuleSet.Level1)]` uses the .NET Framework version 2.0 transparency rules, where public security-critical types and members are treated as security-safe-critical outside the assembly. This requires security-critical types and members to perform a link demand for full trust to enforce security-critical behavior when they are accessed by external callers. Typically, level 1 rules should be used only for compatibility, such as for version 2.0 assemblies. For more information about level 1 behavior, see [Security-Transparent Code, Level 1](~/docs/framework/misc/security-transparent-code-level-1.md). For information about level 2 behavior, see [Security-Transparent Code, Level 2](~/docs/framework/misc/security-transparent-code-level-2.md). ]]> diff --git a/xml/System.Security/SecuritySafeCriticalAttribute.xml b/xml/System.Security/SecuritySafeCriticalAttribute.xml index d610d4404ce..6677ba01cfb 100644 --- a/xml/System.Security/SecuritySafeCriticalAttribute.xml +++ b/xml/System.Security/SecuritySafeCriticalAttribute.xml @@ -43,6 +43,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + Types or members that are marked with the attribute can be accessed by partially trusted types and members. These partially trusted types and members can be within any assembly that is marked with the or (APTCA) attribute, or they are partially trusted for other reasons, such as being loaded into partial trust. Code that is marked with the must be subject to a rigorous security audit to ensure that it can be used safely in a secure execution environment. Security-safe-critical code must validate the permissions of callers to determine whether they have authority to access protected resources used by the code. ]]> diff --git a/xml/System.Security/SecurityTransparentAttribute.xml b/xml/System.Security/SecurityTransparentAttribute.xml index afa33d5a9aa..d137a573b8d 100644 --- a/xml/System.Security/SecurityTransparentAttribute.xml +++ b/xml/System.Security/SecurityTransparentAttribute.xml @@ -40,6 +40,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + Transparent assemblies can be accessed from partially trusted code and cannot expose access to any protected resources or functionality. Code in the assembly is not allowed to suppress code access security checks and cannot cause an elevation of privilege. > [!NOTE] diff --git a/xml/System.Security/SecurityTreatAsSafeAttribute.xml b/xml/System.Security/SecurityTreatAsSafeAttribute.xml index 2a25520ef83..97b06dc5f97 100644 --- a/xml/System.Security/SecurityTreatAsSafeAttribute.xml +++ b/xml/System.Security/SecurityTreatAsSafeAttribute.xml @@ -42,6 +42,9 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. + Types or members marked with the attribute and the attribute can be accessed by types and members within the assembly that are marked with the attribute. ]]> diff --git a/xml/System.Security/SuppressUnmanagedCodeSecurityAttribute.xml b/xml/System.Security/SuppressUnmanagedCodeSecurityAttribute.xml index 40a2a85b75d..335bfe448e3 100644 --- a/xml/System.Security/SuppressUnmanagedCodeSecurityAttribute.xml +++ b/xml/System.Security/SuppressUnmanagedCodeSecurityAttribute.xml @@ -43,6 +43,8 @@ [!IMPORTANT] +> Partially trusted code is no longer supported. This attribute has no effect in .NET Core. > [!CAUTION] > Use this attribute with extreme care. Incorrect use can create security weaknesses.