# Security feature programming

**URL:** <https://forum.kirupa.com/t/security-feature-programming/310810>\
**Category:** programming\
**Created:** [June 20, 2010, 6:20am UTC](https://forum.kirupa.com/t/security-feature-programming/310810 "2010-06-20T06:20:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![speedy\_rudolf](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Post date:** [June 20, 2010, 6:20am UTC](https://forum.kirupa.com/t/security-feature-programming/310810/1 "2010-06-20T06:20:03Z")

</div>

Hi. I’m trying to design a “security system” for a program. Basically, the user has a custom built usb memory stick. When he/she wants to use the software, he/she has to first insert the memory stick into a usb port. Then, when the program is opened, it checks to see if the memory stick is in the correct “layout” (in this example it has a 32 mb memory chip and a 64 mb memory chip), then runs some apps from the memory stick. Anyway, the problem is, how do I get the “layout” of the stick (that is, check to see if the memory chips are from a genuine security stick)? Is there any way to do this? Or should we consider other options? Thank you in advance. Bye.

PS: the programming has to be in c++, c# or assembly
