How to lock the usb flash drive

  • This is a little heavy handed but it seems to work.

    Basically it's a LUA plugin that checks the attached disks for a Removeable[sic] disk and ejects it every second.

    So let's say you want the ability to walk away from the desk for a while but leave it unlocked, You start this plugin and every second if someone puts in a USB stick it ejects it. When you come back to the desk you can run the command SetGlobalVar "EjectUSB" 2 and the plugin will stop. you could change name to something less conspicuous.

    Unfortunately the user can also just run the Restart and that will also stop the plugin. It also won't stop someone who knows what they are doing or looking for.

    It might just be easier to give your profile a password logout and into Guest, or something .

  • 这有点费力,但似乎可行。

    基本上,这是一个LUA插件,它检查连接的磁盘中是否有Removeable [sic]磁盘,并每秒弹出一次。

    因此,假设您希望能够离开桌面一会儿,但保持解锁状态,然后启动此插件,如果有人插入USB记忆棒,它会每秒弹出一次。当您回到桌面时,可以运行命令[tt] SetGlobalVar“ EjectUSB” 2 [/ tt],插件将停止。您可以将名称更改为不太明显的名称。

    不幸的是,用户也可以只运行[tt] Restart [/ tt],这也将停止插件。这也不会阻止知道他们在做什么或正在寻找的人。


    thank you```

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!