We have a java application in which a word document needs to be created and downloaded. When the user opens the word document, he/she needs to challenged with a password(the one that we set in the Open/Modify).
I had used the Document.protect() method to protect the document but when I try to open the document, I am not challenged for the password. I was challenged only when I was trying to edit the document.
Please let me know whether I should be using some other method for password protection/encryption or is this a new feature that needs to be added.