danger/u/
This thread is permanently archived
DIY usb dongle key

| So, you have created your precious software that noone wants and needs but yourself. And now you want to use a normal usb flashdisk to act as a dongle, so your precious software runs only if said usb flash is plugged in.

If a duplicate is made of it, it should not be work, even if it is a dumb byte by byte replica.

How would the aspiring cyberpunks of here achive this modest requirement?


| get a real lock, a box, and place said usb key inside it.


| >aspiring cyberpunks
http://www.catb.org/esr/faqs/hacker-howto.html#style
- Don't call yourself a ‘cyberpunk’, and don't waste your time on anybody who does.


| If it's a software/program made by yourself, you can add a naive 'copy protection' check. This is the same mechanism that games use to make sure they're run through their CD-ROM.

For how your software is going to identify the drive, well, you have plenty of way; ordered from 'probably better' to 'easier to implement': checksum (of certain parts of the drive), partition scheme and layout, flash drive vendor ID & device ID checl, or a simple file check.

Total number of posts: 4, last modified on: Tue Jan 1 00:00:00 1518946504

This thread is permanently archived