Solved

Manage /Control Multiple logins to a website

Posted on 2013-06-21
7
231 Views
Last Modified: 2013-11-13
We host a website on tomcat. To be able to use our website we sell subscriptions. To ensure these are not abused we track IP's and ensure that only allowed IP's are able to log in.

However this means a public IP is allowed and if there are 10 pc's behind that public ip all are allowed. We always knew this and never bothered to look into it. But now with new licensing in place we want to be able to track how many different or individual pc's are accessing our Website.


Is there a way to record or obtain mac address of the remote pc's logging in or is there any other way to manage or control this.

Please advise thanks.
0
Comment
Question by:Clement P
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 11

Assisted Solution

by:Giladn
Giladn earned 334 total points
ID: 39265410
I found this:
http://wiki.apache.org/tomcat/FAQ/Logging

please do tell what kind of firewall you are using, is embedded web tracking app/code like GOSTATS a good solution?
http://gostats.com/

hope this helps,

G
0
 
LVL 1

Assisted Solution

by:svenove
svenove earned 166 total points
ID: 39265470
MAC-address-information is not accessible after the connection passes through a router, so that's not an option.

How exactly do they log in? Username and password?
If so, you could perhaps implement some kind of system to check if the same username is logged in from different IPs at the same time?

An other option is to check the HTTP_USER_AGENT - this is the string that identifies the browser/OS and even this would be the same on two computers running the same OS and browser, combining that along with IP is a step closer at least. :)
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39267296
If you are licensing IP instead of users then you really have little control beyond keeping a count of users logging on from the IP and limiting the number. cookies do not help much because they can be deleted by the use.

I will also confirm what svenove said about the mac address.  That can only be used by the router to map local devices.



Cd&
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 11

Expert Comment

by:Giladn
ID: 39268208
comment:

you cannot "trace" or track those users since no authentication mechanism is involved
0
 
LVL 2

Author Comment

by:Clement P
ID: 39283741
Can we get internal IP of the users, by using any php code integreated on our website. combination of internal ip and external ip wil give us a clear idea.
0
 
LVL 11

Accepted Solution

by:
Giladn earned 334 total points
ID: 39284070
it depands, what exactly are you using in order to connect users? Firewall VPN? IPsec?
are users getting static ip address from your server?

please describe topology so I can be more helpful..

G
0
 
LVL 2

Author Closing Comment

by:Clement P
ID: 39644117
sorry for not accepting the solutions .
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question