This demo illustrates the capability to protect a document with a password.
To protect a document with a password, do the following.
- Specify the owner’s password (gives full, unrestricted access to a document), and if required, the user’s password (an additional setting that is used to protect the opening of a document) using the respective input fields on the right panel.
- Choose the encryption algorithm.
- Specify the required user permissions.
- Click Protect and Save... button to save the document with the specified protection settings.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\