We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Write protection doesn't works with .ppt

There's some bug.

Here is code I use;

//Instantiate a Presentation object that represents a PPT file
Presentation pres = new Presentation();

//....do some work here.....
//Setting Write protection Password
pres.ProtectionManager.SetWriteProtection("test");

//Save your presentation to a file
pres.Save("demoWriteProtected.ppt", Aspose.Slides.Export.SaveFormat.Ppt);

In this case, the file does not protected.

If I choose pptx file format, everything works fine.

Hi Myroslav,

Thanks for inquiring Aspose.Slides.

I have worked with the sample code shared by you and have been able to observe the issue specified. An issue with ID SLIDESNET-36991
has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

We are sorry for your inconvenience,