IPChains can allow you to restrict general Internet access by IP.
The config file for this is:
/etc/rc.d/init.d/masq
Restricting access to websites will involve 2 things:
(1) Forcing all web-access to go via the proxy using Charlie Brady's contrib module: e-smith-transproxy
(2) Using Access Controls in Squid.
This can be done by either:
(a) Creating a custom template for squid.conf in:
/etc/e-smith/templates-custom/etc/squid.conf
(b) Using SquidGuard. There is a contrib HowTo from Darrel May:
http://netsourced.com/e-smith/howto/howto-squidguard.htmlIf you want to restrict access based on user authentication, then Tim Litwiller is working on a HowTo here:
http://linux.made-to-order.net/article.phpGood Luck!
Fran.