CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Location
    Missouri
    Posts
    111

    Cool Retrieving Data from a Flash Drive

    I am making a parental control program, that forbids kids to use their computer unles:

    1: Their parents type in their password, or...

    2: They use their flash drive "key" to open the comuter for a set time frame.

    Now, I want to know a few things.

    Most importantly, how do I know when the user has inserted the flash drive? My idea: Use a timer to search the computer; if any new drives suddenly show up, search its first directory for the "key" file. Is there a better way to detect the inserting of the drive?

    Next, how can I retrieve a file from that drive? Is it just a normal file retrieval, or are there special things I need to do?

    And last: I need a secure way to lock the computer, withou using the lock workstation. I was going to use block input... then I realized that they wouldn't be able to type in the parent's passcode. Any ideas?

    Thanks!

  2. #2
    Join Date
    Dec 2002
    Location
    London, UK
    Posts
    1,569

    Re: Retrieving Data from a Flash Drive

    if you use the file system object to check which type of drive each one is.

    Yes normal file retrieval.

    Well, thats a hard one. just about any of the simple things you do will be easily cracked by any 10-year old. So you are going to have to do some thing a bit more drastic. Unfortunately I have no idea what that would be.
    Mike

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

Featured