We usally configure the proxy server to share the internet over the internal network, users inside the network can access the internet through the proxy server. All the logs of the internet usage are stored in proxy server logs files, but there is a problem in this condition. we cannot track the usage of internet by user wise and also there is no authentication method used in this. To over this situation we can use the authentication method inbuilt in the proxy server ( Squid), by this method all users in the network will got a username and password for accessing the interwork and admins are able to track the usage by userwise.

Configration changes in the squid.conf file

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/sqpasswd
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users

create user and password for squid access

htpasswd -cm /etc/squid/sqpasswd eldo

Enter the password for eldo inorder to get internet access

We can sarg  package for Squid Analysis Report Generator, sarg will make HTML report page