How can I limit the con-current login in squid proxy?

Dear all,

I am using Redhat 5.2 with squid installd. I also use htpasswd to do the auth method. Is there any thing that can be done to limit the con-current login? so that user can not login  cocurrently. (e.g user may have 2 concurrent access to internet)

Remark : If it can not be done by squid , then is there anyone know other method ? eg. third party tools

Best Regards
edmundliAsked:
Who is Participating?
 
j2Connect With a Mentor Commented:
Yep, and all i can say is "good luck" can't say i have ever seen such a solution "in use"
0
 
edmundliAuthor Commented:
Edited text of question.
0
 
j2Commented:
No, it cannot be done in either way.
This is the drawback of "stateless HTML" you will need to use session management via cookies or something  like that (php is useful)

www.devshed.com has som pretty good resources.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
edmundliAuthor Commented:
Then How can we do about this ?
0
 
edmundliAuthor Commented:
How can I do this by using your comments
Can you give me more detail about it ?
0
 
j2Commented:
Oh, that also only protects pages on your servers, it will not be able to limit a person from opening two connections. That isnt possible at all with squid. Exactly what is the scenario here anyway?
0
 
edmundliAuthor Commented:
The resaon to limit the con-current login is that we can a Internet ISP in the company. We would like to make sure that user will only have one or two con-current login allowance. The answer looks different from the first time and second time.

 
0
 
j2Commented:
Because the first answer was because i thought you wanted to prevent multiple logins to a single page. That was obviously not the case, my misstake.

What you want cannot be done with squid, it just isnt in the code.
0
 
edmundliAuthor Commented:
Is there any method to do so even not in squid itself, any third party software ?
0
 
j2Commented:
Not that i have ever heard of. The best way i suppose would be to write software that made sure that a user only could connect to a single modem (since i assume we are talking dial up use here?)
0
 
edmundliAuthor Commented:

No, Since we are providing internet service to our company, and user needs to apply one user account. We do not want one user can access internet by using few internet connections. If they are sharing one account, then we can not charge for them , do you get my point ?
0
All Courses

From novice to tech pro — start learning today.