home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!cray.csd.uwm.edu!wls
- From: wls@cray.csd.uwm.edu (Bill Stapleton)
- Subject: Re: How to control permissions on incoming FTP?
- Message-ID: <1992Jul30.165726.8708@uwm.edu>
- Sender: news@uwm.edu (USENET News System)
- Reply-To: Bill Stapleton <wls@csd4.csd.uwm.edu>
- Organization: Computing Services, U of Wisc-Milwaukee
- References: <51690@drilex.dri.mgh.com> <1582elINN9mf@early-bird.think.com> <1992Jul30.070925.23754@spdcc.com>
- Date: Thu, 30 Jul 1992 16:57:26 GMT
- Lines: 32
-
- In article <1992Jul30.070925.23754@spdcc.com>, dyer@spdcc.com (Steve Dyer) writes:
- > Until I made the (simple) change to ftpd, I maintained a writable
- > directory accessible via anonymous FTP. One day I was amused (surprised
- > is too strong a word) to discover that said directory was being used as
- > a world-wide rendezvous point for porno GIF seekers and providers: there
-
- We've also had this problem. There's a way to restrict this usage by using
- directory permissions. We have an incoming directoy that's writeable by
- anonymous ftp only, but readable by everybody except anonymous ftp. We also
- have the usual pub directory, readable by everyone and writeable by everyone
- except anonymous ftp. An "ls -l" looks like this:
-
- -rw-r--r-- 1 root 1592 Mar 23 17:44 Policy
- dr-xr-xr-x 2 root 512 Oct 24 1991 bin
- dr-xr-xr-x 2 root 512 May 13 20:12 etc
- d-wxr-xr-x 2 ftp 512 Jul 17 14:54 incoming
- dr-xrwxrwt 20 ftp 1024 Jul 28 09:11 pub
-
- So, an anonymous ftp user can drop something off in "incoming" that everyone
- on our system can read, but other anonymous users can't see it. They can
- only see the things that our users place in the "pub" directory.
-
- This worked fine until one of our vendors (I won't mention Convex by name :-)
- changed "ftpd" permissions taking away world read on newly written anonymous
- files. This "security" change makes anonymous ftp pretty useless, except as a
- dumping ground described above, since nobody on our system can read the files.
- Thanks guys. :-)
-
- --
- Bill Stapleton
- wls@csd4.csd.uwm.edu
- uwmcsd4!wls
-