Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 1999 15:56:27 -0400 (EDT)
From:      jason <jason@welsh.dynip.com>
To:        cjclark@home.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: hiding directories on ftp server
Message-ID:  <Pine.BSF.4.10.9910091554450.17229-100000@welsh.dynip.com>
In-Reply-To: <199910091614.MAA25906@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I wanted the directory to not be visible (as well as the files in it)..
but still be able to be downloaded from if they know what file *AND*
directory (i.e. I tell them explicitly) to get it from.

--
=======================================================================
|  Jason Welsh   jason@welsh.dynip.com   |   If you think there's     |
|                                        |   good in everybody, you   |
|      http://welsh.dynip.com/           |   haven't met everybody.   |
=======================================================================


On Sat, 9 Oct 1999, Crist J. Clark wrote:

> jason wrote,
> > ok, i did that , chmod /home/ftp/pub/leech   (leech is the dir I want to
> > hide)
> > and when i ftp in with my cruddy dos ftp client (winblows 98)
> > and do a ls in the pub dir, i can see it..
> > -rw-rw----  1 root   jason     3773144 May 26 02:26 Toto - Hold The
> > Line.mp3
> > -rw-rw----  1 root   jason     2751762 Nov 11  1998 Warrant - Cherry
> > Pie.mp3
> > -rw-rw----  1 root   jason     2648456 Jul 10 18:36 [Grass Roots, The]
> > Let's Live For Today.mp3
> > dr-xr-x--x  2 root   jason     512 Oct  9 01:33 leech        <--****
> > -rw-rw----  1 root   jason     2651661 Jan 11  1999 
> > men_without_hats_-_safetydance.mp3
> > 
> > any ideas?
> 
> I thought that was what you wanted. They cannot 'ls' leech, but they
> can get items from it if they know the whole pathname.
> 
> There is no way to make a single file disappear from the listing of a
> directory using the filesystem permissions. It may very well be
> possible to do with one of your more complicated ftpd servers... If
> you are willing to expose yourself to all of the security holes that
> those have been revealing as of late.
> -- 
> Crist J. Clark                           cjclark@home.com
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910091554450.17229-100000>