From 53daec2c34c9a365084ccc3a02fe47a07ed0e9b6 Mon Sep 17 00:00:00 2001 From: Douglas Dwyer Date: Mon, 21 Oct 2024 16:09:59 -0400 Subject: [PATCH] Add links to docs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8eec874..c2535b4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CasCore -[![NuGet version (DouglasDwyer.CasCore)](https://img.shields.io/nuget/v/DouglasDwyer.CasCore.svg?style=flat-square)](https://www.nuget.org/packages/DouglasDwyer.CasCore/) +[![NuGet version (DouglasDwyer.CasCore)](https://img.shields.io/nuget/v/DouglasDwyer.CasCore.svg?style=flat-square)](https://www.nuget.org/packages/DouglasDwyer.CasCore/) [![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=flat-square)](https://douglasdwyer.github.io/CasCore/) #### Assembly-level sandboxing and Code Access Security for .NET Core @@ -21,6 +21,8 @@ ### How to use +The full documentation is available [here](https://douglasdwyer.github.io/CasCore/). + Sandboxing assemblies with `CasCore` involves two steps: defining a `CasPolicy`, then loading assemblies under that policy. The `CasPolicy` defines a whitelist of fields and methods that sandboxed assemblies may access. Any external member accesses not explicitly on the policy whitelist will fail with a [`System.SecurityException`](https://learn.microsoft.com/en-us/dotnet/api/system.security.securityexception). Policies are created using the `CasPolicyBuilder` class: