Human wrote: > It will be easy to auto check the CRC and display a message when something is > wrong. > The user will know about this and it will download/restore the program from a > backup. > > > A virus must be REALLY dumb not to be able to change a readonly file. > :) > It's not that the virus is DUMB for not being able to change a readonly file. It's just the fact that some viruses really need to be small. To make code small you'll need to skip all sorts of things, possibly including a read-only check! On the other hand a virus no longer needs to be small and chances are most of them are no longer small. A 1Mb "viri" can go unnoticed on todays HDD's with ease!
And I did have success with such a "dumb" method of protection against a loooong wave of viral infections! At some point it my read-only applications were the only ones not infected on a fully infected system! __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk