wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Read protect an excel file generated with POI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Read protect an excel file generated with POI" Watch "Read protect an excel file generated with POI" New topic
Author

Read protect an excel file generated with POI

Karan Poindexter
Greenhorn

Joined: Mar 13, 2013
Posts: 1
I'm trying to create a protected excel file with POI
I've found sheet.protectSheet(password) makes the sheet write-protected

According to this link - http://office.microsoft.com/en-in/excel-help/secure-a-workbook-with-a-password-HP001112410.aspx
We can also make files read-protected (we need to enter a password before the sheet data is shown)
Is this possible with POI or any other API?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Read protect an excel file generated with POI