<PackageReference Include="System.Security.Permissions" Version="10.0.0-preview.4.25258.110" />

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.