Hi,
I have a ppt password protected file and know the password of file. Please guide me how open the password protected file with code using ASPOSE slide and i am using the latest version of ASPOSE slides jar.
password protected file is attached and password is “doc12”.
Regards
Babar Naveed
Hi Babar Naveed,
Thanks for inquiring Aspose.Slides.
I like to share that at the moment the support for accessing the password protected presentation is unavailable in Aspose.Slides for Java 2.9.6 ( The latest available version). However, we are going to release the latest version of Aspose.Slides for Java 3.0.0 in near future, which does include the support for accessing the password protected presentation. The example article for accessing the password protected presentation will also be included as well. The similar implementation is already available in Aspose.Slides for .NET at present. Please visit this documentation link for your kind reference.
Many Thanks,
Please update if this defect has been resolved?
Hi Babar Naveed,
Hi,
Hi Azeem,
Hi,
Hi Azeem,
Hi,
Hi Azeem,
public static void checkPass(){try{String path=“D:\Aspose Data\”;PresentationEx pres=new PresentationEx(path+“passwordprotected.pptx”);}catch(Exception e){String tes=e.getMessage();if(tes.contains(“Presentation is encrypted”)){System.out.println(“Presentation is encrypted…”);}}}
Yes a proper invalidPasswordException like Aspose.Words and Aspose.Pdf does would be great!
Hi Azeem,