ASP.NET Core 12.1.12
Demos Support Blog Download
Show / Hide Table of Contents
PDF

Class HyperlinkPolicy

Defines rules for hyperlink Schemes validation and sanitization in reports. Controls which URL schemes are allowed or blocked based on the selected mode.

Inheritance
System.Object
HyperlinkPolicy
Namespace: BoldReports.Web
Assembly: BoldReports.Web.dll
Syntax
public sealed class HyperlinkPolicy : Object

Constructors

HyperlinkPolicy()

Declaration
public HyperlinkPolicy()

Properties

AllowedSchemes

List of allowed URL schemes (e.g., http, https, mailto). Used only when the mode is set to AllowOnlySchemes.

Declaration
public List<string> AllowedSchemes { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

BlockedSchemes

List of blocked URL schemes (e.g., javascript, vbscript, data). Used to prevent execution of potentially harmful links. Applies to AllowAll and BlockedSchemes modes.

Declaration
public List<string> BlockedSchemes { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

Mode

Specifies the hyperlink schemes validation mode (e.g., AllowAll, BlockedSchemes, AllowOnlySchemes). Determines how URLs are filtered or restricted.

Declaration
public HyperlinkMode Mode { get; set; }
Property Value
Type Description
HyperlinkMode
In This Article
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
×
SEND FEEDBACK REGARDING THIS TOPIC

Please provide additional information

Please provide additional information

Please provide additional information

Please provide additional information
Please provide additional information
Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved