VOOZH about

URL: https://www.syncfusion.com/document-sdk/net-excel-library/security

⇱ Security in Excel documents | .NET Excel Library | Syncfusion®


Bold BI®Unlock stunning dashboards with Bold BI® — 35+ widgets, 150+ data sources, AI agent & more.

Try it for free!
Find anything about our product, documentation, and more.

👁 Syncfusion Feedback

.NET Excel Library - Protect Excel documents using C#

  • Encrypt or decrypt Excel documents with a password.
  • Enable workbook and worksheet protection with a password.
  • Partially unlock cells in the worksheet.

Try C# Excel Examples in Playground app.

FREE TRIAL

No credit card required.

Explore Examples

No credit card required.

Trusted by the world’s leading companies

Overview

The Syncfusion® .NET Excel Library (XlsIO) allows users to protect and unprotect Excel files in C# and VB.NET with various customization options. This prevents unnecessary data loss or modifications to Excel worksheets while making them available to others with limited access.

Encryption Code Example

This example code shows how to encrypt an Excel workbook with a password using the Syncfusion® .NET Excel Library with just a few lines of C# code.

Key Functions of Security

Discover how the Security features in the Syncfusion® Excel Library enhance data protection by providing robust mechanisms to safeguard Excel files from unauthorized access.

Encrypt Workbook

Add password protection to an Excel workbook to restrict access, ensuring that only authorized users can open and modify its contents.

Decrypt Workbook

Remove password protection from an Excel workbook, allowing access to its contents for editing and viewing without restrictions.

Protect Workbook

Secure the workbook with a password, preventing unauthorized changes to its structure.

Protect Worksheet

Lock a worksheet with a password, preventing unauthorized edits to its content while allowing specific actions based on permissions.

Unprotect Worksheet

Remove protection from a worksheet, granting full access to all content for editing or formatting purposes.

Protect cell

Lock specific cells within a worksheet, restricting edits to ensure data integrity while allowing modifications to other cells.

Explore Security references

Discover valuable resources from our knowledge base articles to enhance your efficiency in using security.

👁 Easy Ways to Protect Excel Data in C#

Blog

5 Easy Ways to Protect Excel Data in C#

👁 Protect certain cells in C#, VB.NET and WinForms Excel

Knowledge base

How to protect certain cells in C#, VB.NET and WinForms Excel

👁 Unlock cells and protect the worksheet for formatting columns in C#, VB.NET

Knowledge base

Unlock cells and protect the worksheet for formatting columns in C#, VB.NET

Syncfusion .NET Excel Library Resources

Explore these resources for comprehensive guides, knowledge base articles, insightful blogs, and ebooks.

Frequently Asked Questions

Yes. You can remove a password from an Excel document by changing the password value to empty using the Syncfusion® .NET Excel library.

You can use Workbook protection, which uses the Syncfusion® Excel library to prevent adding or removing worksheets in the Excel document.

You can use the encryption feature from the Syncfusion® Excel library to set a password for the Excel document. This will ensure that only specific users with passwords can read the content.

You can open an Excel document in read-only mode by setting the ReadOnlyRecommended value to true using the Syncfusion® Excel library.

No. You can provide any combination of passwords for Excel documents.

No. It is not possible to open encrypted Excel documents without a password.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.
Love the Excel file format component
The XLSIO component makes it very easy to create a native format Excel file that customers can download, rather than having to create a CSV file or HTML table.
Syncfusion Essential Studio Review
We use Syncfusion Essential Studio for RAD purpose. It has been used for Blazor and .NET Core Razor UI implementations. It really saved time on Web UI development. Additionally PDF & EXCEL components saved time in back-end development as well.
Jaish Mathews,
Chief Applications Architect

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories

Industry

Software development


75% Cost reduction

50% Faster development

👁 Customer review

“If somebody is looking for a great tool to work with? Yes. I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”

- Somnath Maji (Founder of Igniatek Consultancy)

Read Story

Industry

Utilities (oil and gas)


👁 450+ hours saved

450+ hours saved

Streamlined processes and hours of development effort saved.

👁 Flexible features

Advanced, flexible features

Empowered users through robust and versatile functionality.

👁 Customer review

“Syncfusion’s tools have taken care of many things so I can focus on developing the application, instead of developing tools for the application.”

- James Athyal (Software developer, McDaniel & Associates Consultants Ltd)

Read Story

Industry

Software and technology


👁 Time saving

1000+ of hours saved

Accelerated development with enterprise-ready UI components.

👁 File management

Efficient file management

Streamlined workflows with document libraries without building them from scratch.

👁 Customer review

“We really love when the magic happens.”

- Irvin Dominin (BUILDER WEB Development Manager at Sistemi)

Read Story

Industry

Software and technology


👁 Time saving

2 Years of delay avoided

Two years of delays prevented with proactive planning.

👁 On-time delivery

On-time delivery

Projects delivered on schedule using trusted controls.

👁 Customer review

“We are Syncfusion fans because of the way Syncfusion treats the support.”

- Dr. Howard Rybko (CEO of Synchrony Digital)

Read Story

Industry

IT services and IT consulting


👁 Improved performance

Improved performance

Large datasets handled with easy customization and quick debugging.

👁 Highly customizable

Highly customizable

Plug-and-play controls with quick template integration.

👁 Customer review

“I will surely recommend Syncfusion to others as a third-party control because I think it’s very easily customizable.”

- Jayesh (Technical Team Lead, Capita)

Read Story

Industry

Professional services


👁 Instant access

Instant access

Quick availability of features and resources.

👁 Reduced dependencies

Reduced dependencies

Fewer dependencies for faster development.

👁 Customer review

“We definitely wanted Syncfusion to help us with our document processing functionality, and we were happy with and satisfied with Syncfusion.”

- Arvind Naik (Engineering Lead, Vialto Partners)

Read Story


Rated by users across the globe

Want to create, View, and edit Excel files in C# or VB.NET?

Start a free 30-day evaluation today!
DOWNLOAD FREE TRIAL

No credit card required.

👁 Mobile Free Evaluation Section

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

👁 Scroll up icon
EXPLORE OUR PRODUCTS
FREE TOOLS
RESOURCES
GET PRODUCTS
UI Kits
SUPPORT
LEARNING
WHY WE STAND OUT
COMPANY
CONTACT US

CONTACT US

  • Fax: +1 919.573.0306
  • US: +1 919.481.1974
  • UK: +44 20 7084 6215
  • Toll Free (USA):
  • 1-888-9DOTNET