New to Telerik Document ProcessingStart a free 30-day trial

Configures document protection mode, enforcement, and password hashing parameters for restricting editing permissions.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Protection

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public class ProtectionSettings

Inheritance: objectProtectionSettings

Properties

Gets or sets the hash algorithm identifier for password verification. Use predefined values from ProtectionAlgorithmNames.

C#
public string AlgorithmName { get; set; }
Property Value:

The name of the algorithm. The protection algorithm.

Gets or sets whether protection restrictions are actively enforced, requiring password verification to disable.

C#
public bool Enforced { get; set; }
Property Value:

The enforced.

Gets or sets the computed hash of the protection password combined with salt and spin iterations for verification.

C#
public string Hash { get; set; }
Property Value:

The hash.

Gets or sets the level of editing restrictions applied when protection is enforced.

C#
public ProtectionMode ProtectionMode { get; set; }
Property Value:

The protection mode.

Gets or sets the randomly generated salt value used in password hash computation to prevent rainbow table attacks.

C#
public string Salt { get; set; }
Property Value:

The salt.

Gets or sets the number of hash iterations applied during password verification to increase computational cost against brute-force attacks.

C#
public int SpinCount { get; set; }
Property Value:

The spin count.