Skip to content

Update SecurityTransparentAttribute.xml #3312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 10, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions xml/System.Security/SecurityTransparentAttribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Partially trusted code is not longer supported. This attribute has no effect in .NET Core.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rpetrusha I would like to add this note to all attributes related to partially trusted code and code access security. Could you please take a look whether what I got is appropriate? Once we agree on the note text, I am going to copy&paste it into all affected attributes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, not->no

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Text looks good to me now with the fix.


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]
Expand Down