473,801 Members | 2,237 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mac Address

What is the best way to pull a pc's Mac Address from a web page?

Larry
Jul 19 '05 #1
11 17765
Larry R. Baker wrote on 19 sep 2003 in
microsoft.publi c.inetserver.as p.general:
What is the best way to pull a pc's Mac Address from a web page?


It is not there.

That would be a security violation and risk !

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
Shoot, that would work in tandem with ID verification.

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
Larry R. Baker wrote on 19 sep 2003 in
microsoft.publi c.inetserver.as p.general:
What is the best way to pull a pc's Mac Address from a web page?


It is not there.

That would be a security violation and risk !

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 19 '05 #3
Is this for an intranet-only site by chance?

Ray at work

"Larry R. Baker" <lb****@eaglest rike.net> wrote in message
news:OS******** *****@TK2MSFTNG P09.phx.gbl...
Shoot, that would work in tandem with ID verification.

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
Larry R. Baker wrote on 19 sep 2003 in
microsoft.publi c.inetserver.as p.general:
What is the best way to pull a pc's Mac Address from a web page?


It is not there.

That would be a security violation and risk !

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


Jul 19 '05 #4
You might try if it works in Visual Basic or C++
If you can do that you could try if with either a DLL or a clientside
ActiveX (but latter would only work in IE)
Maybe a JavaApplet could do it
But I am not sure if it would work, never tried it.

Meindert, MCP
What is the best way to pull a pc's Mac Address from a web page?

Larry

Jul 19 '05 #5
Internet, I am thinking of Age verification as well as ID'ing the person's
computer for purchases. Since MAC Addresses are unique they would be a good
identifier for someone that bought something at your site. Just one more
thing to add to the fingerprinting of PC's that hit my site.
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:eg******** ******@TK2MSFTN GP11.phx.gbl...
Is this for an intranet-only site by chance?

Ray at work

"Larry R. Baker" <lb****@eaglest rike.net> wrote in message
news:OS******** *****@TK2MSFTNG P09.phx.gbl...
Shoot, that would work in tandem with ID verification.

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
Larry R. Baker wrote on 19 sep 2003 in
microsoft.publi c.inetserver.as p.general:
> What is the best way to pull a pc's Mac Address from a web page?

It is not there.

That would be a security violation and risk !

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)



Jul 19 '05 #6
You would need a signed applet or component which would ask the user's
permission to access the local system (browser would ask).

Your business would also drop to 0 the minute word got out that you were
doing this (ask Intel how many user's have the CPU serial number enabled on
their PIII systems).

If you want to keep track of users ask them to register and require a login
to get into your site.

--
Mark Schupp
--
Head of Development
Integrity eLearning
Online Learning Solutions Provider
ms*****@ielearn ing.com
http://www.ielearning.com
714.637.9480 x17
"Larry R. Baker" <lb****@eaglest rike.net> wrote in message
news:O0******** ******@TK2MSFTN GP10.phx.gbl...
Internet, I am thinking of Age verification as well as ID'ing the person's
computer for purchases. Since MAC Addresses are unique they would be a good identifier for someone that bought something at your site. Just one more
thing to add to the fingerprinting of PC's that hit my site.
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:eg******** ******@TK2MSFTN GP11.phx.gbl...
Is this for an intranet-only site by chance?

Ray at work

"Larry R. Baker" <lb****@eaglest rike.net> wrote in message
news:OS******** *****@TK2MSFTNG P09.phx.gbl...
Shoot, that would work in tandem with ID verification.

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
> Larry R. Baker wrote on 19 sep 2003 in
> microsoft.publi c.inetserver.as p.general:
> > What is the best way to pull a pc's Mac Address from a web page?
>
> It is not there.
>
> That would be a security violation and risk !
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)



Jul 19 '05 #7
I do but there is the possibility of people lying and in order to make a
best effort to prove that the person is who they are things have to happen
like this. People can expect to have to do a little more when payments are
involved and I don't something like giving up the Mac Address is that bad
especially since it would only be used to argue when people say that they
did not visit your website and didn't buy anything.

Comes down to fraud protection.

"Mark Schupp" <ms*****@ielear ning.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
You would need a signed applet or component which would ask the user's
permission to access the local system (browser would ask).

Your business would also drop to 0 the minute word got out that you were
doing this (ask Intel how many user's have the CPU serial number enabled on their PIII systems).

If you want to keep track of users ask them to register and require a login to get into your site.

--
Mark Schupp
--
Head of Development
Integrity eLearning
Online Learning Solutions Provider
ms*****@ielearn ing.com
http://www.ielearning.com
714.637.9480 x17
"Larry R. Baker" <lb****@eaglest rike.net> wrote in message
news:O0******** ******@TK2MSFTN GP10.phx.gbl...
Internet, I am thinking of Age verification as well as ID'ing the person's computer for purchases. Since MAC Addresses are unique they would be a

good
identifier for someone that bought something at your site. Just one more
thing to add to the fingerprinting of PC's that hit my site.
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:eg******** ******@TK2MSFTN GP11.phx.gbl...
Is this for an intranet-only site by chance?

Ray at work

"Larry R. Baker" <lb****@eaglest rike.net> wrote in message
news:OS******** *****@TK2MSFTNG P09.phx.gbl...
> Shoot, that would work in tandem with ID verification.
>
> "Evertjan." <ex************ **@interxnl.net > wrote in message
> news:Xn******** ************@19 4.109.133.29...
> > Larry R. Baker wrote on 19 sep 2003 in
> > microsoft.publi c.inetserver.as p.general:
> > > What is the best way to pull a pc's Mac Address from a web page?
> >
> > It is not there.
> >
> > That would be a security violation and risk !
> >
> > --
> > Evertjan.
> > The Netherlands.
> > (Please change the x'es to dots in my emailaddress)
>
>



Jul 19 '05 #8
Larry R. Baker wrote on 20 sep 2003 in
microsoft.publi c.inetserver.as p.general:
I do but there is the possibility of people lying and in order to make
a best effort to prove that the person is who they are things have to
happen like this. People can expect to have to do a little more when
payments are involved and I don't something like giving up the Mac
Address is that bad especially since it would only be used to argue
when people say that they did not visit your website and didn't buy
anything.

Comes down to fraud protection.


1

Even then it does not work. My DraytecVigor router can be set to any MAC
address I want, since my cable connection does not need it.

MAC addresses are NOT that unique !!!

2

Needing something for a supposed(!) legal use does not mean the ideea of
internet safety should be compromised.

It is like asking someone's housekeys by a bank to have a look if he is
really living there on opening a bank account.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #9
I don't think this will help your security needs BUT here is a function I
have used a few times to pull mac address
<%
function GetMACAddress(s trIP)
Set net = Server.CreateOb ject("wscript.n etwork")
Set sh = Server.CreateOb ject("wscript.s hell")
sh.run "%comspec% /c nbtstat -A " & strIP & " > c:\" & strIP &
".txt",0,tr ue
Set sh = nothing
Set fso = createobject("s cripting.filesy stemobject")
Set ts = fso.opentextfil e("c:\" & strIP & ".txt")
macaddress = null
Do While Not ts.AtEndOfStrea m
data = ucase(trim(ts.r eadline))
if instr(data,"MAC ADDRESS") Then
macaddress = trim(split(data ,"=")(1))
Exit Do
End if
loop
ts.close
Set ts = nothing
fso.deletefile "c:\" & strIP & ".txt"
Set fso = nothing
GetMACAddress = macaddress
End function

strMac = GetMACAddress(s trIP)
%>

<input type="text" name="MacADDY" value=<%Respons e.Write(strMac &
vbcrlf)%>/>

Best regards,
Jason M. Murray [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
--------------------
| From: "Larry R. Baker" <lb****@eaglest rike.net>
| Subject: Mac Address
| Date: Fri, 19 Sep 2003 10:49:33 -0400
| Lines: 5
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <u6************ *@TK2MSFTNGP12. phx.gbl>
| Newsgroups: microsoft.publi c.inetserver.as p.general
| NNTP-Posting-Host: lexdsl01.4.0.1. 117.b.iglou.com 64.253.97.197
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.inetserver.as p.general:25309 9
| X-Tomcat-NG: microsoft.publi c.inetserver.as p.general
|
| What is the best way to pull a pc's Mac Address from a web page?
|
| Larry
|
|
|

Jul 19 '05 #10

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

Similar topics

21
15736
by: Alexander N. Spitzer | last post by:
If I have a machine with 3 virtual IP addresses (192.168.1.), how can I start 3 instances of the same RMI application (each started with different properties/configs), each listening on the port 1234, but each instance binds to a different ip address. that is to say: instance #1 binds to 192.168.1.5/port 1234 instance #2 binds to 192.168.1.6/port 1234 instance #3 binds to 192.168.1.7/port 1234
8
4600
by: YAN | last post by:
Hi, I want to get the mac address from a machine, which i have the IP address of that machine, how can i do that? I know how to get the mac address of the local machine from the following code: Dim mc As System.Management.ManagementClass Dim mo As System.Management.ManagementObject mc = New System.Management.ManagementClass("Win32_NetworkAdapterConfiguration")
7
21320
by: Privacy Advocate | last post by:
//crossposted to: comp.lang.javascript, alt.comp.lang.javascript in an effort to get factual answers from JavaScript experts// Simply put; Is it possible to obtain the real (actual) IP address of someone (client) that visits a web site through an anonymous proxy if this person ONLY has JavaScript enabled in their browser? This is NOT a question about PHP, perl, VBScript, Java(.class), or ActiveX. Let us _only_ deal with JavaScript for...
33
3193
by: baumann.Pan | last post by:
hi all, i want to get the address of buf, which defined as char buf = "abcde"; so can call strsep(address of buf, pointer to token);
4
6318
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> Anderas
1
2939
by: Phoenix_ver10 | last post by:
I have a mailing list with multiple names going to the same addresses. I need one address with all the names for that address on it. I checked out the example on microsoft's site, but A: It doesn't work (error that there is an extra parenthise (sp?) ) and B: Will only let in two names for each record. If there are three, the middle on is deleted. Or to make things simpler, if nothing else, I'd like to add a field in the table that shows...
1
2367
by: Jamie J. Begin | last post by:
I'm very new to the world of Python and am trying to wrap my head around it's OOP model. Much of my OOP experience comes from VB.Net, which is very different. Let's say I wanted to create an object that simply outputted something like this: Developer Detroit Michigan
6
7053
by: Nicolas Noakes | last post by:
Hello, I would like to convert to following process to code. Any advice is welcome. I have a hardware device which requires the this procedure to set it's IP address. First create an static ARP entry for the device's MAC address and the desired IP address. Then telnet to this IP address on TCP port 1. This will set the device to temporarily respond to that IP address. Now you can use HTTP to access the device's web interface and
36
3402
by: Julienne Walker | last post by:
Ignoring implementation details and strictly following the C99 standard in terms of semantics, is there anything fundamentally flawed with describing the use of a (non-inline) function as an address? I keep feeling like I'm missing something obvious. -Jul To keep things in context, this is in reference to describing functions to a beginner.
1
3144
by: saravanatmm | last post by:
I need javascript code for validate the email address. Email address field cannot allowed the capital letters, special characters except '@' symbol. But can allowed the small letters, numeric numbers. Now i use this script for validate the email address. But it allows the cpital letters otherwise its working correctly. SCRIPT FUNCTION ************************************************
0
9698
marktang
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...
0
10520
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, 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...
0
10293
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...
0
10053
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 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...
0
9102
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
7591
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
6830
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
5480
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...
3
2960
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.