I want to password-protect write and format operations of a USB Flash drive but also want to access the USB Drive with read-only access without any password. How can I achieve this?

  • Does the USB flash drive have a physical read only switch? If so, use it. – EBGreen May 3 at 13:46
  • @EBGreen i dont have physical read only switch – Alone May 3 at 13:47
  • 1
    Security.SE has you covered. As far as I know there isn't a way to achieve this – Tiago Caldeira May 3 at 13:54
  • @Alone do you want to prevent accidental writes to the flash drive or do you want to protect it from being compromised by others who have physical access to the flash drive? – danzel May 3 at 13:57
  • 2
    @Alone how would that prevent people to bring their own flash drive or download and install different software? Seems like an xy problem to me because you are really looking for a way to prevent people from installing software other than that provided by you. – danzel May 3 at 14:34

As far as I know, you can't achieve that. You could:

Encrypt your flash drive gives you protection but you need to input the password in read/write operations which doesn't suits your needs.

  • Have a flash-drive with a physical read-only switch

This offers what you want but because it's a physical switch it will be easy to override read-only protection (and of course it isn't a password method).

  • Calderia are you sure USB with read only switch ,resolve my issue? – Alone May 3 at 14:27
  • 1
    No. Based on the comment that you posted above ot will not. – EBGreen May 3 at 14:31

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.