I am new to this forum and have joined to gain knowledge from the industry experts.
I am working on a Swing based application where the database is in xml file. Now, since there is a possibility that the end-user may edit the xml file, i want to encrypt it in such a way that the user should not edit it.
So is there a way by which I can achieve this?
Thank you for your reply Tim.
Can you please help with an example how i can achieve this?
I want the encrypted xml files to be read only through Java code.
Santuario comes with example code. It is generally under-documented, so some reseach on XML-Encryption in general may help you get started with the samples.
Yes, even I think that my research was not adequate on this subject.
Tim, I am encouraged to ask you, only if you don't mind, have you worked on XML encryption? I believe you have a lot more to share on this topic.
I think you'll learn more if you read up on the subject some more, try to get some sample code running, and then come back here with questions. I'm not really motivated to write an article about it