This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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