Results 1 to 11 of 11

Thread: Is it possible to make a USB key readonly ?

  1. #1

    Thread Starter
    Fanatic Member stlaural's Avatar
    Join Date
    Sep 2007
    Location
    Quebec, Canada
    Posts
    683

    Is it possible to make a USB key readonly ?

    As I don't care about the programing language that would be use I thought I could just post this is the Chit/Chat section.

    I've been thinking about this for a while and I really wonder if what I'm asking here is even possible.

    Let's say I want to distribute some data on a USB Key, that I bought bought as I'm not a manufacturer, I don't want anyone on any computer to be able to modify the content of the USB device. I don't care if they copy what's on the device but I don't want them to be able to change it or copy something new on the key. How would someone do this ? How can I insert a program on the Key that would make sure that, unless you know the password the data is not altered. But the data needs to be readable at all time. Also need to make sure that the application doing that job cannot be deleted from the device

    I already know that you can play in the registry add add some key to disable writing to external device but this only apply to the machine and not to the device itself so its not a good solution for what I'm looking for. I know that there are USB device with a lock switch but any user could just slide the switch so its not a solution.

    I'm really looking for a software solution here.

    Any suggestion is welcome !
    Alex
    .NET developer
    "No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)

    Things to consider before posting.
    Don't forget to rate the posts if they helped and mark thread as resolved when they are.


    .Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
    My fresh new blog : writingthecode, even if I don't post much.

    System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0

  2. #2
    Addicted Member pcuser's Avatar
    Join Date
    Jun 2008
    Posts
    219

    Re: Is it possible to make a USB key readonly ?

    I know that there are USB device with a lock switch but any user could just slide the switch so its not a solution.
    Super glue?

  3. #3

    Thread Starter
    Fanatic Member stlaural's Avatar
    Join Date
    Sep 2007
    Location
    Quebec, Canada
    Posts
    683

    Re: Is it possible to make a USB key readonly ?

    Quote Originally Posted by pcuser View Post
    Super glue?
    Yeah, but the distributer needs to be able to write to it, using a password for example.

    Nice try

    My own conclusion is that its not possible unless I was the manufacturer of the Key. This way I could add a readonly chipset between the USB connector and the Memory chipset that manage the writing.
    Alex
    .NET developer
    "No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)

    Things to consider before posting.
    Don't forget to rate the posts if they helped and mark thread as resolved when they are.


    .Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
    My fresh new blog : writingthecode, even if I don't post much.

    System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is it possible to make a USB key readonly ?

    You went wrong on two accounts. 1) Posing in the Chit-Chat section ... what you really want is the General Developer section. Your second mistake was not putting [Serious] tag around the title, while posting in Chit Chat...

    I'll ask a mod to move it before too much damage is done.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Is it possible to make a USB key readonly ?

    Anyone with linux root privileges can take a full image of any USB disk and then rewrite it as they see fit, thus rendering any attempt at write protection futile. I suggest linux as an easy example, all Unix variants can do this. Windows and mac users will have more trouble because they are mindless slaves.
    I don't live here any more.

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Is it possible to make a USB key readonly ?

    What you would probably need would be a ROM chip with a USB interface. Making such a thing your self would be impractical as it would tend to be a giant monstrosity, but there are companies out there that prototype things like this, so you might shop around.
    My usual boring signature: Nothing

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Is it possible to make a USB key readonly ?

    Thread moved to 'General Developer' forum.
    (thanks for letting us know TG )


    A few years ago I saw a company that sold "write-once" USB sticks, which acted like normal ones until you ran a program that came with it - and that program caused minor physical damage which permanently disabled the writing mechanism. The price was pretty reasonable, but unfortunately I can't remember the company or product name.

  8. #8
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Is it possible to make a USB key readonly ?

    Quote Originally Posted by si_the_geek View Post
    Thread moved to 'General Developer' forum.
    (thanks for letting us know TG )


    A few years ago I saw a company that sold "write-once" USB sticks, which acted like normal ones until you ran a program that came with it - and that program caused minor physical damage which permanently disabled the writing mechanism. The price was pretty reasonable, but unfortunately I can't remember the company or product name.
    Took your idea and googled "write once flash memory" and got this http://www.engadget.com/2007/11/20/1...-to-cost-5-99/ and this http://en.wikipedia.org/wiki/Write_Only_Memory

  9. #9

    Thread Starter
    Fanatic Member stlaural's Avatar
    Join Date
    Sep 2007
    Location
    Quebec, Canada
    Posts
    683

    Re: Is it possible to make a USB key readonly ?

    Quote Originally Posted by techgnome View Post
    You went wrong on two accounts. 1) Posing in the Chit-Chat section ... what you really want is the General Developer section. Your second mistake was not putting [Serious] tag around the title, while posting in Chit Chat...

    I'll ask a mod to move it before too much damage is done.

    -tg
    Right I should have thought about the General Dev Section, thank you TG.

    Quote Originally Posted by wossname View Post
    Anyone with linux root privileges can take a full image of any USB disk and then rewrite it as they see fit, thus rendering any attempt at write protection futile. I suggest linux as an easy example, all Unix variants can do this. Windows and mac users will have more trouble because they are mindless slaves.
    Yeah but it is for windows user and I really don't think they would think about that

    Quote Originally Posted by si_the_geek View Post
    Thread moved to 'General Developer' forum.
    (thanks for letting us know TG )


    A few years ago I saw a company that sold "write-once" USB sticks, which acted like normal ones until you ran a program that came with it - and that program caused minor physical damage which permanently disabled the writing mechanism. The price was pretty reasonable, but unfortunately I can't remember the company or product name.
    We need to have a way to write again on the key by providing a password or something to update data on it. we just don't want any user to put anything on it.

    Thanks for moving the thread.
    Alex
    .NET developer
    "No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)

    Things to consider before posting.
    Don't forget to rate the posts if they helped and mark thread as resolved when they are.


    .Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
    My fresh new blog : writingthecode, even if I don't post much.

    System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0

  10. #10

    Thread Starter
    Fanatic Member stlaural's Avatar
    Join Date
    Sep 2007
    Location
    Quebec, Canada
    Posts
    683

    Re: Is it possible to make a USB key readonly ?

    Quote Originally Posted by Shaggy Hiker View Post
    What you would probably need would be a ROM chip with a USB interface. Making such a thing your self would be impractical as it would tend to be a giant monstrosity, but there are companies out there that prototype things like this, so you might shop around.
    I'll sure see what I can find on that.
    Alex
    .NET developer
    "No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)

    Things to consider before posting.
    Don't forget to rate the posts if they helped and mark thread as resolved when they are.


    .Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
    My fresh new blog : writingthecode, even if I don't post much.

    System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0

  11. #11
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Is it possible to make a USB key readonly ?

    Some of the PROM chips can be wiped and re-used. The password is always the same, though: UV light of the right wavelength.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width