且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何密码保护Java中的压缩Excel文件?

更新时间:2023-10-04 16:51:04

uncompressing,它不可能的密码保护在zip文件内的excel。

Without uncompressing, Its impossible to password protect excel which is inside a zip file.

这是你可以做的

  • Unzip the content using tips in What is the best way to extract a zip file using java and Compressing and Decompressing Data Using Java APIs
  • Password protect extracted excel file using tips in Password Protected Excel File
  • Zip the password protected excel file using tips in Java Compress Large File