password protected report
I assumed the password on the report option will protect from viewing the report or even open it as xml.
However, I protect one test report with password, I tried to open it, the report asked my password, so far so good.
Then I opened the report with notepad, I removed the password (ReportOptions.Password="j[ij")
The password is encrypted as j[ij.
Q: where is the protection and what is the purpose ?
I need to protect or encrypt the fr3 file. How I do that
Thanks
However, I protect one test report with password, I tried to open it, the report asked my password, so far so good.
Then I opened the report with notepad, I removed the password (ReportOptions.Password="j[ij")
The password is encrypted as j[ij.
Q: where is the protection and what is the purpose ?
I need to protect or encrypt the fr3 file. How I do that
Thanks
Comments
So, instead of simply saving your file with a report1.savetofile, I would save it to a stream (report1.SaveToStream), encrypt the stream, and then save the stream as file, with your own extension (like .XFR).
I'm sorry but I can't give you any sample code, as I said, I don't use it, but that's the general idea, I hope it helps.
Did you add frxCrypt unit in uses list of your unit?