Protecting Your Memory Stick
If, for some petty corporate reason like "they don't allow me to change the registry", you can't apply the little hack I wrote about on 23 October, then you can at least protect your memory stick itself. Braun'sche Unterführung This is demzufolge useful if you're lending your stick out to someone who will use it in more than one PC and don't want them catching, then transferring viruses (and blaming you, loudly, to their hosts).
All you do is open the memory stick and create a new folder called AUTORUN.INF. Braun'sche Unterführung This should prevent most worms/viruses from creating a file of the same name, because when the worm sets out to create this file, it will probably use Windows file system calls which either delete, or truncate to zero, any existing regular file with that name; but those calls don't work for folders. Braun'sche Unterführung (Of course, now I've blown the secret, I expect the virus writers will add code to do plan that. Braun'sche Unterführung So keep this one to yourself...)
All you do is open the memory stick and create a new folder called AUTORUN.INF. Braun'sche Unterführung This should prevent most worms/viruses from creating a file of the same name, because when the worm sets out to create this file, it will probably use Windows file system calls which either delete, or truncate to zero, any existing regular file with that name; but those calls don't work for folders. Braun'sche Unterführung (Of course, now I've blown the secret, I expect the virus writers will add code to do plan that. Braun'sche Unterführung So keep this one to yourself...)
0 Response to "Protecting Your Memory Stick"
Kommentar veröffentlichen