LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-20-2003, 10:42 AM   #1
thebrave65
LQ Newbie
 
Registered: May 2003
Location: Phoenix, AZ
Posts: 19

Rep: Reputation: 0
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
 
Old 05-20-2003, 10:59 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I think you can just put the ip into the file /etc/hosts.deny.
 
Old 05-20-2003, 11:52 AM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Are you using SQUID as proxy server ?
SQUID version ?
 
Old 05-20-2003, 12:03 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 05-20-2003, 12:19 PM   #5
thebrave65
LQ Newbie
 
Registered: May 2003
Location: Phoenix, AZ
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 05-20-2003, 12:51 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Usually a Google search will turn up something relevant.

Google hits
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Deny Access but... Roach Linux - Software 4 11-23-2004 12:18 PM
access and deny mchitrakar Linux - Security 8 04-24-2004 03:53 AM
deny this fruitcake access hux Linux - Networking 3 02-11-2002 03:08 PM
Deny access by IP address plisken Linux - Security 1 12-29-2001 10:11 PM
Deny access to samba on eth1 smurf Linux - Networking 2 06-20-2001 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration