Jump to content

how to access USB mass storage devices

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
gamiR

gamiR

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
I want to make software that work on any OS. The software make USB storage devices read-only. How to do so in JAVA?

#2
Arkie

Arkie

    Learning Programmer

  • Members
  • PipPipPip
  • 92 posts
Engineeringserver.com | Accessing an usb stick or cdrom and list all directories and files
To make it read only use the file method setReadOnly();

#3
gamiR

gamiR

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
But I also want to disable USB mass storage devices as per its authority.
My software will give authority to these devices. Thus only authorised devices will be detected and others wont.

#4
Arkie

Arkie

    Learning Programmer

  • Members
  • PipPipPip
  • 92 posts
I don't think you can do that directly using pure java.

#5
gamiR

gamiR

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
Then an you suggest any ways which can be helpful for my project.

#6
Arkie

Arkie

    Learning Programmer

  • Members
  • PipPipPip
  • 92 posts

gamiR said:

Then an you suggest any ways which can be helpful for my project.

Use c/c++