Disabling directory listing
John DiSpirito
dispirito at LifetimeTV.com
Wed Oct 31 20:54:17 GMT 2007
That worked like a charm! Thank you!!
I honestly didn't know that option even existed.
-----Original Message-----
From: simo [mailto:idra at samba.org]
Sent: Wednesday, October 31, 2007 12:33 PM
To: John DiSpirito
Cc: samba-technical at lists.samba.org
Subject: Re: Disabling directory listing
On Wed, 2007-10-31 at 11:19 -0400, John DiSpirito wrote:
> I was wondering if it were possible to configure a file share within
> samba which
>
> will allow a user read access to any file they want on the share,
> providing they know the
>
> exact location to the file.
>
>
>
> I'm working on an application which will be accessing files shared
> across a read only samba mount, and
>
> this data needs to be protected in the event that the machine would
get
> hacked. The data is not super sensitive
>
> like social security numbers, or bank codes, but is still sensitive.
>
>
>
> The application will know exactly where the files live because of a
call
> to a database containing this information, so
>
> ideally, if we could somehow disable directory listings from within
the
> smb.conf file, we should be good.
>
>
>
>
>
> I've done an implementation similar to this with an FTP application,
> however, it required me to modify file system permissions.
>
> Because of other applications using this shared data, I can't change
> permissions on the physical mount point.
>
> I can create a separate samba share pointing to the same mount point,
> and assign any samba related permissions there.
>
>
>
> Any assistance would be greatly appreciated.
Have you tried with the "hide unwritable" option ?
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>
More information about the samba-technical
mailing list