<PackageReference Include="System.Security.Permissions" Version="9.0.5" />

WebBrowserPermissionLevel

Specifies the permission level for a Web browser.
None = 0

A Web browser that cannot navigate frames to HTML.

Safe = 1

A Web browser that can safely navigate frames to HTML but with several restrictions.

A Web browser that can navigate without restrictions.