📜 ⬆️ ⬇️

Hands off the autorun!

Isn't it true that deleting a bunch of malicious elements from your favorite flash drive, after each connection to a foreign computer, is somewhat burdensome? And how many nerve cells destroy these elements? My - nemeryannom!

All the methods of dealing with incidents of this kind known to me (such as: transfer to Linux, disable autorun, do not stick a flash drive anywhere, etc.) are not acceptable to me. That's why I had to invent my own.

Surely this method will seem to someone ineffective, to someone - inconvenient. And someone will sigh with relief or even help less experienced friends.
')
I should note that, on a flash drive so protected, operations on the elements of the root folder will be hampered. The method is based on this.

The bottom line: prohibit anyone from writing / changing the root directory.
Result: all evil spirits on the USB flash drive will not be able to stop you.


The first thing to do is to organize an NTFS partition on a flash drive. How to do it? Google will tell you in all the details and poses. I will indicate the easiest way:
convert X: /fs:ntfs

. , . , .

, , — .

Windows XP Professional . , Windows XP Home Edition.

(ACL) cacls. :
cacls X:\
:
X:\ :(OI)(CI)F

, , :
cacls X:\ /E /R COMPUTER_NAME\USER_NAME ( : cacls X:\ /E /R )

:
cacls X:\ /G :R

, :
X:\ :(OI)(CI)R

. ? .

upd: , .

Source: https://habr.com/ru/post/49022/


All Articles