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 4 2821 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.
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
wrote on 23 mrt 2006 in comp.lang.javas cript: 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)
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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,
setting lcg as true should eliminate any problems I'd have thought.
Anyway, these are my thoughts, do people agree?
|
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 not be used.
However, every article strongly implies, if it does not state it
outright, that GUID's are always unique. My question is this, what
happens if you have a database that uses GUID's and the NIC is changed
out on the box? From what I...
|
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
guidelines for uniquity.
3) Some other system.
I usually lean towards Guids internally, they are simpler to use as a whole,
but in this case I will have to provide Id to factory mappings, most likely
in a serialized format like an xml document...
|
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 examine the
responsible Node's identifier to see which TreeNode triggered the
event? Analyzing the Node's Text string is undesirable because it
would mean performing a string compare to a set of predefined strings.
This is slower and not easily...
|
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 the information found in
Windows system information? Or maybe there is a better method.
Thanks in advance for any help or suggestions.
Dave M.
| |
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
|
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 to a user, i dont really need the Unique Identifier's to be
sequential so i was considering using system.time.hour +
system.time.minute. + system.time.second, but am worried about
daylight savings and also people altering the time on the host PC.
|
by: prasannas |
last post by:
what is the difference between unique constraint and primarykey and identifiers?
|
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() with
'identifier' is also used in some other place in the code which would
make the 'identifier' not unique.
Is that something that can be achieved in C++?
Thanks
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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();...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |