Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Implications of subnetting... 1

Status
Not open for further replies.

JCruz063

Programmer
Feb 21, 2003
716
US
Hello All,

I am creating an ASP.NET application which allows users to create surveys and post them online for web surfers to take. One of the requirements for these surveys is that no single user/computer should be able to take the same survey twice. How can I accomplish this? I am thinking of checking the IP addresses of web surfers and rejecting duplicates. But then, how unique are IP addresses? I know it is possible for multiple users within a network to share a single IP address. This being the case, it would be impossible for me to identify a specific machine. How then can I address this issue?

Thanks.

JC

_________________________________
I think, therefore I am. [Rene Descartes]
 
Reject duplicate MAC addresses, or if the users migrate to different machines, then configure something that makes the users' credentials/login info follow them. Just a few thoughts. IP adresses are usually dynamically assigned in a privae network, unless the node is a printer or a server, or something that has to be statically mapped so that it can be found on the network by a name. MAC addresses are 48 bits, or 12 hexadecimal digits, in length, so each device with an ethernet interface is completely unique with a unique MAC address.

Burt
 
Burt,
Thanks for your reply...

Ahhhh, MAC addresses! I almost forgot all about them (it's been a while since I took a networking class).

So let me ask you this: Are MAC addresses always present even when users are sharing IPs? If this is so, then things will be a lot better.

Logins are not really an option because these surveys will be open to the public and authentication will not be used. MAC addresses would be ideal. The only problem would be public computers which reside in say, libraries or college computer labs and can be used by multiple users. My boss would have to come to some kind of compromise regarding these.

Thanks again.

JC

_________________________________
I think, therefore I am. [Rene Descartes]
 
Yes, MAC addresses are completely unique, even when users at times use the same IP address. However, one cannot have the same IP address as another on the same network at the same time.

Burt
 
Thanks Burt!

JC

_________________________________
I think, therefore I am. [Rene Descartes]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top