LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Deny Webpage Access (https://www.linuxquestions.org/questions/linux-security-4/deny-webpage-access-60823/)

thebrave65 05-20-2003 10:42 AM

Deny Webpage Access
 
I'm kinda new at being a Linux admin, (about four months), and haven't had much luck finding info on this. I've been having problems with some users going to "undesireable" websites here at work and want to deny access to them. I don't know if I can do that in this version of Linux and would apperciate any help.

I am running Linux 7.0, SuSe eMail Server II 2.2.

Thanx in advance!

Johnny

fancypiper 05-20-2003 10:59 AM

I think you can just put the ip into the file /etc/hosts.deny.

markus1982 05-20-2003 11:52 AM

Are you using SQUID as proxy server ?
SQUID version ?

Crashed_Again 05-20-2003 12:03 PM

Quote:

Originally posted by fancypiper
I think you can just put the ip into the file /etc/hosts.deny.
That just blocks incoming requests so I don't think that would apply to this situation. If your running a firewall you can deny access to those sites from there.

thebrave65 05-20-2003 12:19 PM

I'm not running SQUID and I don't have my firewall put together yet. When I do, it's going to be SmoothWall.

I'm thinking that might be the way to go, but if there's a solution on my Linux server, I would like to use that for now.

I did look at the etc/hosts file earlier, thinking that might be the answer, but it didn't work.

I really appreciate the response I'm getting from all of you! Please feel free to e-mail me off list if you would like. jsawyer@roadswest.com

Johnny

fancypiper 05-20-2003 12:51 PM

Usually a Google search will turn up something relevant.

Google hits


All times are GMT -5. The time now is 05:07 AM.