how to implement access control using connetcing hostname and port(squid)

benson asked:

some http proxy service providers here just assign an unique proxy address and port to a user, and the user just needs to enter the necessary proxy address and port to get access.I think this method is superior to username and password authentication, and also,this makes it possible to proxy a lot of mobile apps on ios devices and android which don’t support traditional proxy authentication. i found they are using squid for caching and proxying. can squid alone achieve this? Thank you

My answer:


Yes, squid will answer on as many ports as you would like; just add them into its configuration.

The problem with this approach is that there is no access control; anyone who manages to find the IP address and port can then use (or more likely, abuse) the proxy.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.