The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
YGYavanaarasi G Syncfusion Team May 28, 2008 08:45 AM UTC
Hi Iliya,
Thank you for your interest in Syncfusion products.
Yes. It is possible to protect an excel workbook by using password.
Here is the code snippet: [C#] //Protect Workbook. workbook.Protect(true, true, "syncfusion");
//Unprotect workbook. // Opening a Existing(Protected) Worksheet from a Workbook IWorkbook workbook = application.Workbooks.Open(@"ProtectedWorkbook.xls");
//Unprotecting( unlocking) Workbook using the Password workbook.Unprotect("syncfusion");
Please refer our shipped browser sample that demonstrates the workbook protection: