Re: File Extensions
Re: File Extensions
- Subject: Re: File Extensions
- From: Sherm Pendley <email@hidden>
- Date: Wed, 8 May 2002 19:47:36 -0400
On Tuesday, May 7, 2002, at 01:54 PM, Patrick Tescher wrote:
I am currently trying to make a browser for a High School that will only
open certain types of files. This is because the built in security in
Mac OS
X is not enough to stop people from playing games and messing up the
Macs.
Sure it is! :-)
Create a non-privileged user; that is, create a new user, and make sure
that the "allow this user to administer this computer" checkbox is not
checked. You should create a user account for each student - this will
help prevent mischief and cheating, by allowing each student to access
only his or her own files.
By default, all the apps in /Applications are world-readable and
world-executable. You'll want to change that - just execute "sudo chmod
-R o-rwx /Applications/AppName.app" for each application you want to
disable for non-privileged users. For any user who doesn't have
administrator privileges, these applications will be displayed in the
finder as unreadable folders - they'll have the standard folder icon,
with a red minus badge to indicate that it's unreadable.
Make sure that auto-login is either disabled, or set to automatically
log in as a non-privileged user.
Make sure that the login window is set to display a list of users,
instead of login and password text boxes. This will prevent your
students from entering ">console" in the user box, to gain root access.
It's difficult to keep people from installing games in their home
folders. Instead, just install a shell script that's run by cron every
five minutes or so, that looks for and deletes any executables it finds
under user home folders.
If you're concerned about kids playing games directly off of external
devices or media - CD-ROMs, Zip disks, iPods, and the like - you could
disable automounting for those devices. I'm not sure how to do that,
though. That kind of abuse is hard to hide, though; if you see a student
plug in an iPod, just walk over and check what they're doing with it.
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.