开发者

how to password protect xls file using java code

开发者 https://www.devze.com 2022-12-15 13:29 出处:网络
How do I password prot开发者_开发问答ect xls file using java code?Check out the Apache POI project. It is a Java API for Microsoft Documents, including Excel.

How do I password prot开发者_开发问答ect xls file using java code?


Check out the Apache POI project. It is a Java API for Microsoft Documents, including Excel.

Even though I haven't used it myself, it seems like there is support for passwords in xls documents. If you want more detailed help you would need to be more specific, like @Sebastian says.

Edit: Is the protectSheet function from POI maybe what you are looking for?


Why not zip the file and password protect the zip file (http://merkert.de/de/info/zipaes/src.zip), using AesZipOutputStream.zipAndEcrypt(...))

0

精彩评论

暂无评论...
验证码 换一张
取 消