Question3Replies1789Views mozeg Member since 2014 4 posts PEGA Posted: December 28, 2016Last activity: October 4, 2018 Closed Solved Password protecting an Excel file generated from PegaI am looking for the approach to password protecting an excel file generated from Pega to be sent via email.Is this possible? I know it can be done with .zip file but looking for the capability to do it for the excel file itself.***Updated by moderator: Lochan to update Categories; related mesh post (internal)*****Moderation Team has archived post**This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post. Case Management Security ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 3 years agoSantanu PEGA replied to mozegI dont think out of the box it is supported. May be you need to access APACHE POI thru custom java ( in activity ) and then design your own logic. @John any inputs ? Accepted Solution Posted: 3 years agoothos PEGA replied to mozegHi Mozeg, I could see that John has updated you in Mesh stating that this will probably work (using Apache POI) . Below page from the Apache POI docs gives some examples of encrypting EXCEL files with a password for a key: http://poi.apache.org/encryption.html Regards, Sudhish OP Posted: 2 years agoKumar Infosys replied to mozegHi Team, I have build an excel file and wanted to protect it with password. Using (setWorkbookPassword) method but getting error. org.apache.poi.xssf.usermodel.XSSFWorkbook workbook = new org.apache.poi.xssf.usermodel.XSSFWorkbook();workbook.setWorkbookPassword("Testing"); Error The method setWorkbookPassword(String) is undefined for the type XSSFWorkbook Please help.