Secure Stacks
Posted: Mon Oct 12, 2009 9:58 pm
In each of my stacks is a customPropertySet called FileHeader which tells the software who's the developer, the file version, copyright and any other details.
As part of the softwares security the FileHeader has a property called cSignature which contains a compressed form of the developer name, file version and copyright as well as the file description which is matched up against the values returned by the FileHeader set.
I was wondering if there was any way for my software to tell if a stack had been modified. I tried a question about the MD5Digest function but i needed that to be able to store the value in the cSignature property however the result will always change each time the stack is saved so keeping the MD5Digest value up to date would be like trying to create your own universe. In a nut shell impossible.
So if anyone code help me. Cos i am completely baffled. If any more details are needed let me know. Thanks everyone.
As part of the softwares security the FileHeader has a property called cSignature which contains a compressed form of the developer name, file version and copyright as well as the file description which is matched up against the values returned by the FileHeader set.
I was wondering if there was any way for my software to tell if a stack had been modified. I tried a question about the MD5Digest function but i needed that to be able to store the value in the cSignature property however the result will always change each time the stack is saved so keeping the MD5Digest value up to date would be like trying to create your own universe. In a nut shell impossible.
So if anyone code help me. Cos i am completely baffled. If any more details are needed let me know. Thanks everyone.