• Products
  • Pricing
  • Documentation
  • Support
Login
Your cart is empty. See pricing.
My order
Total:
Order
  • Home
  • Products
  • Pricing
  • Documentation
  • Support
Login
LinkedIn
Twitter
  • Guide
  • API reference
  • Code samples
  • Changelog
  • TallComponents
  • TallComponents.Licensing
  • TallComponents.PDF.Layout
  • TallComponents.PDF.Layout.Actions
  • TallComponents.PDF.Layout.Brushes
  • TallComponents.PDF.Layout.Colors
  • TallComponents.PDF.Layout.Css
  • TallComponents.PDF.Layout.Fonts
  • TallComponents.PDF.Layout.JavaScript
  • TallComponents.PDF.Layout.Metadata
  • TallComponents.PDF.Layout.Navigation
  • TallComponents.PDF.Layout.Paragraphs
  • TallComponents.PDF.Layout.Pens
  • TallComponents.PDF.Layout.ResourceLoader
  • TallComponents.PDF.Layout.Security
  • TallComponents.PDF.Layout.Shapes
  • TallComponents.PDF.Layout.Shapes.Annotations
  • TallComponents.PDF.Layout.Shapes.Barcodes
  • TallComponents.PDF.Layout.Shapes.Fields
  • TallComponents.PDF.Layout.Xml

Namespace TallComponents.PDF.Layout.Security

Class PasswordSecurity

This class encapsulates all security settings of a PDF document. You secure a document by assigning a new instance of this class to the Security property of the Document class. This class is only available in TallPDF.NET Professional.

Syntax

public class PasswordSecurity : Security

Constructors

PasswordSecurity()
Creates a new password security object.

Properties

EncryptionLevel EncryptionLevel
The encryption level used to encrypt this document.
String OwnerPassword
Owner password. The owner has all privileges, including the ability to change the user password.
Boolean Strong
If true, use strong (128-bit key) encryption. Otherwise weak (40-bit key) encryption is used.
String UserPassword
User password. You may set this string to "" to allow viewing by anyone but to restrict privileges such as printing.
Our products
PDFKit.NET 5.0
Create and manipulate PDF documents
TallPDF.NET 5.0
Generate PDF on the fly
PDFRasterizer.NET 4.0
Render PDF pages cross-platform
Support resources
  • Code samples
  • Submit issue
  • Contact
  • Licensing Model
Legal
  • EULA
  • Privacy
LinkedIn
Twitter
© 2001-2025 TallComponents BV. All rights reserved.