In this tutorial i am going to protect webrowser using proxy_auth , user can't use internet without username and password.
Create Password file
# htpasswd -c /etc/squid/userlist shahzad
#chmod o+r /etc/squid/userlist
Check ncsa_auth location
#rpm -ql squid | grep ncsa_auth
#vim /etc/squid/squid.conf
#add lines in top of configuration file
auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/userlist
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#create acl
acl ncsa_users proxy_auth REQUIRED
#apply acl
http_access allow ncsa_user
Reload Squid service
# service squid reload
Now access internet
I gathered as much knowledge regarding to the Linux, web sever and database server from your site.Keep on updating with more interesting topic.
ReplyDeleteMoreover to recover the lost file from Linux Click on:
android data recovery review
launch android data recovery
backup and restore android apps and data
android backup app data
recover lost files
diskdigger pro file recovery