473,503 Members | 9,887 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unique System Identifiers and Javascript

Hello all!

I have something rather unique. I'm creating a cookie for
customization for a webpage. But I want to tie the user to a machine
(not friendly, I know, but for what I'm doing, it's got to be done).

I know there a whole list of custom USI (Unique System Identifiers) on
a system. IE, System BIOS serial number, that funky code MSFT creates
on windows activation, etc.

But can Javascript access any of those data item? This is what I'm
running into. I can't seem to find anywhere how this can be done.

If anyone knows of site that can explain this, the link would be
greatly appreciated.

Thanks in Advance!
-Michael

Mar 22 '06 #1
4 2804
no**************@gmail.com wrote:
Hello all!

I have something rather unique. I'm creating a cookie for
customization for a webpage. But I want to tie the user to a machine
(not friendly, I know, but for what I'm doing, it's got to be done).


Sounds more like something you would usually implement server-side.
Maybe by looking at the ip address?
Remember that anyone can look into their cookies and copy the
information to a cookie on another computer.
Mar 22 '06 #2
I can't impliment server-side (I'd like to, but can't. project
restriction).

IP address would be sufficient, if it didn't change.

The cookie is going to be permanent (and encrypted). The code will
check the data in the cookie against something that is unique to the
system. If the IP changes, then that piece wouldn't be unique.

I'm looking for something like a system bios serial number or
something.

Maybe the better question would be "what can a page w/ javacript on it
access on the local machine w/out coming from a trusted site?"

Thanks again in advance!
-Michael

Mar 23 '06 #3
wrote on 23 mrt 2006 in comp.lang.javascript:
I can't impliment server-side (I'd like to, but can't. project
restriction).

IP address would be sufficient, if it didn't change.

The cookie is going to be permanent (and encrypted). The code will
check the data in the cookie against something that is unique to the
system. If the IP changes, then that piece wouldn't be unique.

I'm looking for something like a system bios serial number or
something.
Holy grail search?
No this impossible.

Clientside encription?
Not sensible.

Unique IP?
Proxy users share the IP with tousantds at a time.

Project restriction?
A serious programmer tells his empoyer
not to insist on impossible requirements.
Maybe the better question would be "what can a page w/ javacript on it
access on the local machine w/out coming from a trusted site?"


if you mean:
w/ -> with
local machine -> clientside
javascript -> clientside javascript
can -> is sensible

The domain's cookies.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 23 '06 #4
On 23 Mar 2006 10:09:06 -0800, no**************@gmail.com wrote:
I can't impliment server-side (I'd like to, but can't. project
restriction).

IP address would be sufficient, if it didn't change.

The cookie is going to be permanent (and encrypted). The code will
check the data in the cookie against something that is unique to the
system. If the IP changes, then that piece wouldn't be unique.

I'm looking for something like a system bios serial number or
something.

Maybe the better question would be "what can a page w/ javacript on it
access on the local machine w/out coming from a trusted site?"

Thanks again in advance!
-Michael


IP addresses are often dynamic and cannot be relied on as a "unique
system identifier". Worse, is that IP addresses are often dynamic but
rarely change - the IP address on my home machine is dynamic, but
changes infrequently, so something might appear to work for a period
then fail without warning. Further, all the computers on an internal
network using the private ranges of IP addresses may expose the same
IP address to the world.

MAC addresses might be better, but they are often "spoofed" - most
routers etc. provide tools to allow this (it is often necessary where
a router replaces an existing piece of equipment whose MAC address is
registered with an ISP, for example).

The answer to your last question is "Nothing without asking the user
to install additional software"

Good luck!

Paul
Mar 24 '06 #5

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

Similar topics

9
3716
by: MrBoom | last post by:
Does using uniqid seem a reasonable way of generating a unique row identifyer in a db table? It's *highly* unlikely that two ids are going to be generated in the same microsecond, but if they are,...
4
15614
by: Louis Frolio | last post by:
Greetings All, I have read many upon many articles here regarding GUID data types and uniqueness. There have been many opinions regarding the effectiveness of GUID's and when they should/should...
0
260
by: Daniel O'Connell | last post by:
For globally unique id's, ones that will have to be handled manully in config files, what does everyone prefer: 1) A Guid. 2) A case-insenstive string based hierarchal namespace string, providing...
3
2697
by: Kilroy Programmer | last post by:
Is there a way to store a unique numeric identifier (say, for example, an int) into a TreeNode, so that when the TreeNode is checked (since CheckBoxes is enabled) the eventhandler AfterCheck() can...
9
12558
by: dave m | last post by:
I need to be able to retrieve a unique ID from a users PC. I needs to be something a user could not easily change, like the computer name. Could someone point me in the right direction to find ...
3
2842
by: petermichaux | last post by:
Hi, Is there an internally assigned number for each JavaScript object that I can read? If so how would I do that? Thanks, Peter
4
10104
by: ba.hons | last post by:
Hello all, Was wondering if anyone could provide some info on what could be a possible solution to a problem am having. I have to generate a Unique Identifier in C# which I will use to assign...
2
1438
by: prasannas | last post by:
what is the difference between unique constraint and primarykey and identifiers?
13
3687
by: mliptak | last post by:
I'm trying to implement logging in my application, so that each log message has its unique identifier, e.g. log(identifier, text) What I want to achieve is that the compiler screams if the log()...
0
7095
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...
0
7294
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7361
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...
1
7015
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...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5602
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,...
0
4693
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...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
403
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...

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.