473,765 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looking for ways to generate unique ids for a user's PC

Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0

I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.

Front Page has a form option that will send the above info back to the
form owner when someone clicks submit. I'd simply like to know if
anyone has or knows of a DLL that will extract the same info or, even
better, hardware ids (hard disks, CD/DVD, Mac Address, etc) from the
user's PC.

Of course there are many PCs out there that can generate the same info
as this because they have the same stuff installed. But this gets the
idea across (I hope).

Thanks large for any advice you folks can offer.

--LW
Nov 13 '05
29 3756
I do have OLE32.DLL on my system (XP Pro SP2). I didn't specifically copy
that DLL or anything it's just there. I had this working in Access (O97)
under Win98 but I don't think I ever tested it under XP.

Well at least you may have another angle.

Many Cheers

"Lauren Wilson" <LW@nospam.co m> wrote in message
news:jr******** *************** *********@4ax.c om...

OOPS! I spoke too soon! The text of this article, under "MORE
INFORMATION" is quoted as follows:

"The code below can be used to create a GUID in Visual Basic. The code
calls the CoCreateGuid API found in OLE32.DLL on Windows 95, Windows
98, Windows Me, Windows NT and Windows 2000. ..."

Geesh! Windows XP is conspicuously missing! Guess I'll need to dig a
bit deeper. Don't suppose you have something on the XP version do
you? Even if you don't, I thank you for your kind efforts.
On Tue, 16 Nov 2004 18:50:06 -0500, "Bolt Upright"
<Bo*********@BH .com> wrote:
Hi All,

Would a GUID work???

Check the following link...

http://support.microsoft.com/default...b;en-us;176790

Cheers and HTH
"Lauren Wilson" <???@???.???> wrote in message
news:c8****** *************** ***********@4ax .com...
Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0

I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.

Front Page has a form option that will send the above info back to the
form owner when someone clicks submit. I'd simply like to know if
anyone has or knows of a DLL that will extract the same info or, even
better, hardware ids (hard disks, CD/DVD, Mac Address, etc) from the
user's PC.

Of course there are many PCs out there that can generate the same info
as this because they have the same stuff installed. But this gets the
idea across (I hope).

Thanks large for any advice you folks can offer.

--LW

Nov 13 '05 #11
> Does anyone know how the following info is extracted from the user's
computer by a Front Page form?
HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0
Sure. It's not extracted from the user's computer, but from the
browser. It comes across in a cookie, query string, or hidden form
field, as part of the request to the server. That's not splitting
hairs. The server gets it from the browers, which gets it from the
OS, but only certain things are available to the browser.
I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.


Well in that case it doesn't sound like you're talking about http
transfer and asp forms, but some kind of backend code in your system?

Could you explain how this works? I'd like to make sure my personal
firewall stops sh!t like this.

Thanks.
Nov 13 '05 #12
On 16 Nov 2004 20:47:34 -0800, Th*********@gma il.com (Thug Passion)
wrote:
Does anyone know how the following info is extracted from the user's
computer by a Front Page form?
HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0


Sure. It's not extracted from the user's computer, but from the
browser. It comes across in a cookie, query string, or hidden form
field, as part of the request to the server. That's not splitting
hairs. The server gets it from the browers, which gets it from the
OS, but only certain things are available to the browser.
I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.


Well in that case it doesn't sound like you're talking about http
transfer and asp forms, but some kind of backend code in your system?

Could you explain how this works? I'd like to make sure my personal
firewall stops sh!t like this.

Thanks.


Thanks for your comments . I understand your concern. However in the
case I describe, it would purely be a function of a LOCAL program the
user has installed (an Access application). The ONLY reason I want to
do this is so I can generate a serial id code that is UNIQUE to the
user's PC. That code would then be used to generate an activation
code that would unlock the application (take it out of trial mode)
ONLY on the PC that generated the serialization code. As it now
stands, every serial code my app generates is the same on all machines
-- a risky approach. The user should not care that a unique code is
being generated for this purpose UNLESS he/she has perfidious
intentions -- which is precisely why we must worry about this in what
the world has become.
Nov 13 '05 #13
> Thanks for your comments . I understand your concern. However in the
case I describe, it would purely be a function of a LOCAL program the
user has installed (an Access application). The ONLY reason I want to
Well, just so it's clear, my concern is that I spent $1,600 on a
computer, believe I own it, and don't like it to go talking to
mysterious servers without me knowing about it. ( A temp installed
some kind of Napster p2p thing on one of our workstations - and was
let go over it - which put all kinds of malware on the machine.
Collecting all kinds of data and sending it out.

It sounds like that's not what you're trying to do. If your customers
know about this then it's a different story.

Still, I'd appreciate if you wanted to send me an email on how this is
going to work, so I can make sure my security systems will stop it.
Your software can refuse to run when it can't reach your server, but I
have to control what goes across my network.
do this is so I can generate a serial id code that is UNIQUE to the
user's PC. That code would then be used to generate an activation
code that would unlock the application (take it out of trial mode)
You definately need unique for what you're trying to do, but does it
have to be unique and tied to the machine?
ONLY on the PC that generated the serialization code. As it now
So what happens if someone buys your software, and then upgrades their
computer? Wouldn't it be better - more equitable, and maybe easier -
to put a unique number in the product you distribute? Put a 30 byte
ID into a hidden system table, or a custom property somewhere in the
database, and then let that ID be activated only once by your server?
-- a risky approach. The user should not care that a unique code is
being generated for this purpose UNLESS he/she has perfidious
intentions -- which is precisely why we must worry about this in what
the world has become.


You'd be surprised at all the perfectly innocent reasons a user would
object to (a) their machine talking to somebody's server, (b) trusting
that you're only sending an ID number, and (c) "invasion of privacy"
and other concerns that aren't really an issue, except in the big,
abstract picture.
Nov 13 '05 #14
Chuck Grimsby wrote:

<sarcasm>
Oh, sure... People *never* upgrade computers... Nor do they ever
change roles... Nah... Never happens...
</sarcasm>
I have about 15-25 licences for WinXP excluding the ones shipped with
laptops I have WinXP installed on about 4 PCs, I have no activations
left. I wouldn't mind activation so much if it were possible to
de-activate for a planned upgrade.
Think really, really, *REALLY* carefully about what you are doing.
Remember that although the program may be yours, the *DATA* never is.
Locking people out of their data is a sure way to find yourself in
court, or in a worse case scenario, behind bars! It's already
happened, do you want to be next?

Oh, and before someone suggests it, the courts don't care about "trial
mode". The data is *NEVER* yours. Period.


TBH if the data is in a back-end db then it's acessible, they have what
they own, their data. The means to present it in an effective way was
never theirs, it was the copyright/IPR owner's.

--
This sig left intentionally blank
Nov 13 '05 #15
On Wed, 17 Nov 2004 23:14:46 GMT, Chuck Grimsby
<c.*******@worl dnet.att.net.in valid> wrote:
On Wed, 17 Nov 2004 12:17:23 -0600, Lauren Wilson <LW@nospam.co m>
wrote:
Thanks for your comments . I understand your concern. However in the
case I describe, it would purely be a function of a LOCAL program the
user has installed (an Access application). The ONLY reason I want to
do this is so I can generate a serial id code that is UNIQUE to the
user's PC. That code would then be used to generate an activation
code that would unlock the application (take it out of trial mode)
ONLY on the PC that generated the serialization code. As it now
stands, every serial code my app generates is the same on all machines
-- a risky approach. The user should not care that a unique code is
being generated for this purpose UNLESS he/she has perfidious
intentions -- which is precisely why we must worry about this in what
the world has become.
<sarcasm>
Oh, sure... People *never* upgrade computers... Nor do they ever
change roles... Nah... Never happens...
</sarcasm>


We've already encountered this situation many times. We simply give
them a new unlock code for the MDE front end.
Think really, really, *REALLY* carefully about what you are doing.
Believe me, we have.
Remember that although the program may be yours, the *DATA* never is.
Locking people out of their data is a sure way to find yourself in
court, or in a worse case scenario, behind bars! It's already
happened, do you want to be next?
The data is NEVER locked. It all resides in an UNLOCKED back end data
base. They ALWAYS have access to it (assuming the have Access
installed)
Oh, and before someone suggests it, the courts don't care about "trial
mode". The data is *NEVER* yours. Period.
Agreed. See above.
If you want to go through with this, and I'm not saying you shouldn't
or can't, just make sure you have a support plan in place. And
remember that "no one in the 70's and 80's thought that their program
would still be in use in the year 2000." Just a slight
miscalculation ....


This one is going on five years and shows no sign of ending any time
soon.

Thanks for your insight.
Nov 13 '05 #16
On Thu, 18 Nov 2004 08:24:02 +0000, Trevor Best <no****@besty.o rg.uk>
wrote:
Chuck Grimsby wrote:

<sarcasm>
Oh, sure... People *never* upgrade computers... Nor do they ever
change roles... Nah... Never happens...
</sarcasm>


I have about 15-25 licences for WinXP excluding the ones shipped with
laptops I have WinXP installed on about 4 PCs, I have no activations
left. I wouldn't mind activation so much if it were possible to
de-activate for a planned upgrade.


A license transfer procedure is what we're implementing right now.
That will save us the trouble of re-activating it on a new or
drastically modified machine.

Think really, really, *REALLY* carefully about what you are doing.
Remember that although the program may be yours, the *DATA* never is.
Locking people out of their data is a sure way to find yourself in
court, or in a worse case scenario, behind bars! It's already
happened, do you want to be next?

Oh, and before someone suggests it, the courts don't care about "trial
mode". The data is *NEVER* yours. Period.


TBH if the data is in a back-end db then it's acessible, they have what
they own, their data. The means to present it in an effective way was
never theirs, it was the copyright/IPR owner's.


Exactly.
Nov 13 '05 #17
On 17 Nov 2004 18:46:43 -0800, Th*********@gma il.com (Thug Passion)
wrote:
Thanks for your comments . I understand your concern. However in the
case I describe, it would purely be a function of a LOCAL program the
user has installed (an Access application). The ONLY reason I want to
Well, just so it's clear, my concern is that I spent $1,600 on a
computer, believe I own it, and don't like it to go talking to
mysterious servers without me knowing about it.


I completely agree. The user should NEVER be in the dark about when
and for how long their PC is communicating with ANY other machine or
server.
( A temp installed some kind of Napster p2p thing on one of our workstations - and was
let go over it - which put all kinds of malware on the machine.
Collecting all kinds of data and sending it out.
And we all know what happened to Napster.
It sounds like that's not what you're trying to do. If your customers
know about this then it's a different story.

Still, I'd appreciate if you wanted to send me an email on how this is
going to work, so I can make sure my security systems will stop it.
Your software can refuse to run when it can't reach your server, but I
have to control what goes across my network.
We don't use server based activation. It's ALL done locally and by
email for retrieving an activation code that the user manually pastes
into the activation form after copying it from an email.
do this is so I can generate a serial id code that is UNIQUE to the
user's PC. That code would then be used to generate an activation
code that would unlock the application (take it out of trial mode)


You definately need unique for what you're trying to do, but does it
have to be unique and tied to the machine?


Well yes it does because our license is for ONE PC, unless they
purchase the multi-user LAN upgrade. Stand alone copies 2 - ? are
also available a fraction of the full price for each additional copy.
ONLY on the PC that generated the serialization code. As it now


So what happens if someone buys your software, and then upgrades their
computer?


They get a new unlock code for the new/upgraded PC. This happens all
the time.
Wouldn't it be better - more equitable, and maybe easier -
to put a unique number in the product you distribute?
I have often wondered about how I could implement such a procedure.
The program would need to generate and store its own unique ID as soon
as it is installed. I just have not yet figured out how the
incorporate that approach into the locking system. I do NOT want to
distribute more than one version of the program -- for obvious
reasons.
Put a 30 byte ID into a hidden system table, or a custom property somewhere in the
database, and then let that ID be activated only once by your server?


Hmmm. This idea has possibilities. Thanks.
-- a risky approach. The user should not care that a unique code is
being generated for this purpose UNLESS he/she has perfidious
intentions -- which is precisely why we must worry about this in what
the world has become.


You'd be surprised at all the perfectly innocent reasons a user would
object to (a) their machine talking to somebody's server, (b) trusting
that you're only sending an ID number, and (c) "invasion of privacy"
and other concerns that aren't really an issue, except in the big,
abstract picture.


Correct. That's why we don't use server dependent activation.
Nov 13 '05 #18
On Thu, 18 Nov 2004 06:25:19 GMT, Dennis Lee Bieber
<wl*****@ix.net com.com> wrote:
On Wed, 17 Nov 2004 12:17:23 -0600, Lauren Wilson <LW@nospam.co m>
declaimed the following in comp.databases. ms-access:

Thanks for your comments . I understand your concern. However in the
case I describe, it would purely be a function of a LOCAL program the
user has installed (an Access application). The ONLY reason I want to
do this is so I can generate a serial id code that is UNIQUE to the
user's PC. That code would then be used to generate an activation
code that would unlock the application (take it out of trial mode)
ONLY on the PC that generated the serialization code. As it now
stands, every serial code my app generates is the same on all machines
-- a risky approach. The user should not care that a unique code is
being generated for this purpose UNLESS he/she has perfidious
intentions -- which is precisely why we must worry about this in what
the world has become.
Well, theoretically, the MAC address of a NIC is unique...


Yes there is a way to do that but it would be blown away if the user
had to replace his NIC. Also, many users don't HAVE a NIC and have no
need for one.
I think there is some way to obtain that.

Otherwise you are trying to duplicate what WinXP itself does --
using a mix of processor ID, monitor type, drive IDs, etc... and shuts
down if too many of these identifiers have changed..


I would LOVE to have some code that would retrieve the drive ID from
the drive's ROM. Do you have any?
Nov 13 '05 #19
> I would LOVE to have some code that would retrieve the drive ID from
the drive's ROM. Do you have any?


For what you want to do, you really need something better than Access.

How does your activation work? How does your program know whether
it's legit or not, whether it should run? If you're using Access/VBA,
I'm guessing you've got a key stored in a db table, and a function
that calculates a new key and compares them?

You can hold the shift key when you load an Access database and bypass
any startup code. You probably know that, and built your copy
protection in deeper than when the app is started. With some tools
like a good object browser and spy++ you can get at the return value
of a function when it runs. MDE code is sort of "half-compiled."

If you're that concerned about building a secure copy protection
system, I wouldn't trust it to an Access app.
Nov 13 '05 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
11758
by: mydejamail | last post by:
I am looking for a script that generates PIN Numbers. Is there one available somewhere out there? I don't mind algorithms if they will be easy to implement in PHP. Regards
10
18610
by: Mamuninfo | last post by:
Hello, Have any function in the DB2 database that can generate unique id for each string like oracle, mysql,sybase,sqlserver database. In mysql:- select md5(concat_ws("Row name")) from tablename; Here this function generate unique id for each row of the table. Regards..
4
2236
by: ozgur develioglu | last post by:
hi everyone, I've a USER table which contains USERNAME column. I try to keep usernames unique. When I'm adding I new user, I frist go to database and check if that username already exists and if no I add that user. As you see I went to database two times. In order to do this can I set the column unique at SQL Server 2000 and at the program side check the errors. I'm dealing with a ASP.NET application and I need quick user adding...
1
1247
by: Bijoy Naick | last post by:
I've made multiple posts re different aspects of dynamically adding web and user controls.. First off, thx for all the responses.. I think I've figured it out. I am looking for some feedback on how I am implementing certain functionlity.. Details follow.. Scenario ======
1
3655
by: Daniel Hilgarth | last post by:
Hello, I am currently trying to use XSLT for the creation of multiple HTML-files from a single XML-File. This HTML-files need to have links to each other. The following information might be important: There are some special nodes that will start a new HTML-page ("page-nodes"). Those nodes can be nested. Those nodes have an attribute "name" which is not necessarily unique. There are another special nodes that will create a link in one...
9
6468
by: Omatase | last post by:
I have a set of about 6 or so strings that I need to use to generate a unique hash. This hash will become the unique key in a database so the hash has to be the same each time I gen it for any 1 set of strings. Is there something out there that already does this written in javascript? I didn't find anything doing a google search.
9
18139
by: Robert Mago | last post by:
Is there a way to create a 10 characthers or less, alph-numeric string which is unique. I can't use the guid since its longer then 10 characthers. Also i cannot use a random number, since being random does not mean that its unique.
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.