Spreadsheet Locker
The Aspose.Cells Spreadsheet Locker for .NET Plugin allows developers to programmatically protect Excel files, securing sensitive data by locking entire workbooks, individual worksheets, or specific spreadsheet elements. This plugin supports XLS, XLSX, XLSM, XLSB, and more — giving you flexible protection options for .NET applications.
Latest Articles
Aspose.Cells Spreadsheet Locker Key Features
Workbook & Worksheet Protection
Apply protection to entire workbooks or individual worksheets. Lock structures, windows, formulas, or cell ranges as needed for secure document handling.Password-Based Security
Use strong password encryption to restrict editing, copying, or formatting of spreadsheet contents. Passwords can be applied to both workbook and worksheet levels.Granular Control Over Permissions
Enable or disable specific actions such as formatting cells, inserting rows, or editing objects, giving you detailed control over user access.Multi-Format Support
Lock Excel files in formats such as XLS, XLSX, XLSB, XLSM, and ODS. The plugin ensures compatibility with legacy and modern Excel environments.Seamless .NET Integration
Easily integrate the Spreadsheet Locker plugin with any .NET application — including WinForms, ASP.NET, WPF, or cloud-based solutions.Fast and Efficient Protection
Secure your files using optimized methods that ensure high performance and minimal overhead during file processing.
Getting Started with Aspose.Cells Spreadsheet Locker for .NET
To start protecting your Excel files with the Spreadsheet Locker Plugin, follow these steps:
Install Aspose.Cells for .NET
Install via NuGet or download the required assemblies from the Aspose website.Apply Your License
Activate full features usingSetMeteredKey()
methods.Load the Excel File
Instantiate theWorkbook
class with your Excel file path.Protect the Workbook or Worksheet
Use theProtect()
method on the workbook or specific worksheet. Specify a password and desired protection settings.Save the Protected File
Call theSave()
method to save the modified Excel file with protection applied.