How to password protect an existing file in linux using java
My original goal was to generate a password protected .xls file using Jasperreports. I was able to do the generation of said file. The problem is the "password protecting" part. I can't seem to find any tool or Api that would do the trick and that linux would accept.
So now I am hoping to find a way to password protect an existing file (any file) in linux instead (using java codes).
Thanks in advance for any suggestion that you could come up with. Please please do help. Thank you.