Show / Hide Table of Contents

Enum ContentSecurityPolicyInlineExecution

Content Security Policy inline execution modes.

Namespace: Lib.AspNetCore.Security.Http.Headers
Assembly: Lib.AspNetCore.Security.dll
Syntax
public enum ContentSecurityPolicyInlineExecution

Fields

Name Description
Hash

Use hash mechanism (SHA-256)

Hash384

Use hash mechanism (SHA-384)

Hash512

Use hash mechanism (SHA-512)

Nonce

Use nonce mechanism

Refuse

Refuse any inline execution

Unsafe

Allow all inline execution

Extension Methods

ContentSecurityPolicyInlineExecutionExtensions.IsHashBased()
Back to top Copyright © 2016 - 2023 Tomasz Pęczek