get name of flashdrive.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7312
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: get name of flashdrive.

Post by jacque » Mon Apr 15, 2024 9:15 am

Yeah, I was being too Mac-centric. On second thought though, maybe knowing the drive name isn't necessary. A copied app could easily be on a thumb drive.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

stam
Posts: 2990
Joined: Sun Jun 04, 2006 9:39 pm

Re: get name of flashdrive.

Post by stam » Mon Apr 15, 2024 12:15 pm

This solution was proposed as a security measure but is not really secure…

So whether drive letter or volume name or even knowing it is running from a USB drive using something like Linux’s usbUtils, this won’t prevent anyone from copying to usb and using anywhere/anyway.

Hard to prevent that kind of thing so you’re better off relying on some serial number scheme and preferably something that phones home, but that may be more work than it’s worth.

Less arduous but slightly better than the OP method would be to have an invisible licence file on the drive, or derive some unique id from the drive hardware. None of this is completely secure but maybe better that just knowing its on a flash drive…

SparkOut
Posts: 2894
Joined: Sun Sep 23, 2007 4:58 pm

Re: get name of flashdrive.

Post by SparkOut » Mon Apr 15, 2024 3:35 pm

The old thread I posted was referring to a task where someone wanted to implement a security measure like this, by interrogating the volumes and extracting the unique id of the removable device. There were some code samples based on vbcript usage to do this on Windows.
I don't know if this is still relevant today.

CAsba
Posts: 411
Joined: Fri Sep 30, 2022 12:11 pm

Re: get name of flashdrive.

Post by CAsba » Wed Apr 24, 2024 1:53 pm

Thanks everyone for your kind interest. I thought I had a solution for anti-copying, but no, it was not to be. I guess I'll just have to live with that, and hope customers may be put off by some disinformation, or something like that.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9960
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: get name of flashdrive.

Post by FourthWorld » Wed Apr 24, 2024 4:43 pm

Most software problems have been encountered by other publishers over the years. Before attempting novel solutions it's often useful to see how others have solved what we're facing, and do what they do.

With license enforcement, if you have a web server you can require the user to register the product.

It won't stop 100% of piracy (nothing does), but when registration is tied to email relatively few years are willing to pass around their email address. The sort of person who creates disposable email addresses to circumvent copyright enforcement mechanisms is unlikely to ever be a paying customer anyway, so even an imperfect solution means no significant loss among actual potential customers.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

CAsba
Posts: 411
Joined: Fri Sep 30, 2022 12:11 pm

Re: get name of flashdrive.

Post by CAsba » Thu May 02, 2024 11:31 am

Many thanks Richard, I'll keep that in mind..

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”