how to set Password when writeFile ? #791

Closed
opened 2017-08-23 07:47:05 +00:00 by parkAlly · 1 comment
parkAlly commented 2017-08-23 07:47:05 +00:00 (Migrated from github.com)

I want to set password when writeFile.
Do you support that feature?

var wb , ws = {}; 
ws['!protect'] = false;
wb.Sheets['test'] = ws;
XLSX.writeFile(wb, 'xlsxFile', {password : 'test1234'});
I want to set password when writeFile. Do you support that feature? ```javascript var wb , ws = {}; ws['!protect'] = false; wb.Sheets['test'] = ws; XLSX.writeFile(wb, 'xlsxFile', {password : 'test1234'}); ```
SheetJSDev commented 2018-05-20 17:51:48 +00:00 (Migrated from github.com)

A quick note on the feature: XLSX / XLSB ("ECMA-376") encryption involves generating a normal file and packaging the whole thing in an encrypted blob within a CFB container (the same type of container used in XLS).

We offer this in the Pro compendium. Since companies have paid for the features already, it would be unfair to them if we turned around and made it available as open source. We have a longer comment in a gist.

A quick note on the feature: XLSX / XLSB ("ECMA-376") encryption involves generating a normal file and packaging the whole thing in an encrypted blob within a CFB container (the same type of container used in XLS). We offer this in the [Pro compendium](https://sheetjs.com/pro). Since companies have paid for the features already, it would be unfair to them if we turned around and made it available as open source. [We have a longer comment in a gist.](https://gist.github.com/SheetJSDev/24b8acd317d01999d721b38de7c53021)
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#791
No description provided.