You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by 冯如超 <fe...@126.com> on 2011/10/11 03:25:39 UTC

How to set workbook with a read protect password to prevent others read it?

Excuse me,
 
There is a methd  writeProtectedPassword that to prevent others to modify the workbook without a right password, however, others could
read the context of the workbook. 
 
How to create a workbook with a read protect password? This is a problem that troubles me a long time.
 
If anyone knows, would you please tell me with a simple sample?
 
Thank you very much.
 
Frank

Re: How to set workbook with a read protect password to prevent others read it?

Posted by Yegor Kozlov <ye...@dinom.ru>.
Creating of read-protected workbooks is not yet supported. POI can
read encrypted workbooks but cannot create them.

Yegor

2011/10/11 冯如超 <fe...@126.com>:
> Excuse me,
>
> There is a methd  writeProtectedPassword that to prevent others to modify the workbook without a right password, however, others could
> read the context of the workbook.
>
> How to create a workbook with a read protect password? This is a problem that troubles me a long time.
>
> If anyone knows, would you please tell me with a simple sample?
>
> Thank you very much.
>
> Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org