From: Zach Dennis Date: 2004-12-31T03:01:40+09:00 Subject: Re: Restricting file access in Ruby Andreas Schwarz wrote: > John Allen wrote: > >> Hey, I don't know if this is a subject that's been beat to death or >> not as >> I'm new to the group, but I wanted to ask whether anyone's extended >> Ruby to >> allow scripts to (dis)allow access to files based on some sort of user >> defined mechanism. > > > This is what users and permissions on OS level are good for; I think it > will be _very_ hard to implement it in ruby. I concur with Andreas, this isn't necessarily the job for ruby to be doing, nor your scripts. It adds unnecessarily complexities to a problem ruby shouldn't be solving anyways. Let your OS do this. It will save you from headache. Zach