home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!sci34hub!gary
- From: gary@sci34hub.sci.com (Gary Heston)
- Subject: Re: Is this program secure?
- Message-ID: <1992Jul30.142708.9363@sci34hub.sci.com>
- Reply-To: gary@sci34hub.sci.com (Gary Heston)
- Organization: SCI Systems, Inc., Huntsville, Al.
- References: <2333@itexjct.jct.ac.il>
- Date: Thu, 30 Jul 1992 14:27:08 GMT
- Lines: 25
-
- In article <2333@itexjct.jct.ac.il> warren@itexjct.jct.ac.il writes:
- >The problem: people anonymously ftp files into our upload directory -
- >these files are owned by ftp. Also, sometimes people who have
- >accounts ftp stuff into our uploads dir using their own login - these
- >files are owned by the user.
-
- >The people who maintain the ftp archives log in as 'archives' rather
- >than ftp (to minimize the damage that they can do) and need the files
- >to be owned by archives so that they can do things like chmod them.
-
- >So I wrote this program which makes sure the user has an euid of
- [ .... ]
-
- Was there any reason you didn't have cron run a shell script every
- 5 minutes to chown all the files in the directory to archive?
-
- A little slower, but less of a security hole, I'd think, if the script
- is tucked somewhere that average users don't have access to, and has
- 700 or 500 permissions set.
-
- --
- Gary Heston SCI Systems, Inc. gary@sci34hub.sci.com site admin
- The Chariman of the Board and the CFO speak for SCI. I'm neither.
- "Always remember, that someone, somewhere, is making a product that will
- make your product obselete." Georges Doriot, founder of American R & D.
-