LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2008, 12:26 PM   #1
mayank_a
LQ Newbie
 
Registered: Oct 2005
Location: India
Distribution: RedHat 7.3, Fedora 4
Posts: 19

Rep: Reputation: 0
Restricting USB mount and Internet access on a server


I maintain a Redhat Server for students. I need to restrict students mounting their USB device on the server and restrict internet access, while maintaining intranet access from the server.
Please if you can guide me to some links for steps of the same.

Thanks and Regards
Mayank Agarwal
 
Old 06-15-2008, 05:18 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well USB certainly shouldn't a problem, as normal users don't even have permission to mount removable devices normally. Unless you are using HAL to do automounting, in which case you can just stop that service.

As for Internet access, would it be enough to remove all DNS servers from the system's configuration, and then address the server you wish them to view by IP? Granted this would still allow Internet access if the IP of the outside server was known.

Alternately, you could just filter access through iptables.
 
Old 06-16-2008, 08:26 AM   #3
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Hi,

If you don't want USB access you could just disable it in the BIOS. That's sure to make it tough.

As for the internet, I'd use iptables as MS3FGX sugested.

-eco
 
0 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
restricting internet access with squid... mia_tech Linux - Newbie 3 01-02-2008 03:19 PM
Restricting access to Internet cooljai Linux - Networking 1 05-16-2007 05:35 AM
internet server that use a prepaid account to access the internet elgieb1 Linux - General 0 02-19-2007 11:59 PM
restricting internet access bobbens Linux - Networking 2 02-08-2005 07:29 AM
User Group for Restricting Internet Access kyleinc Linux - General 6 04-17-2004 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:45 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