Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: access mode of a directory
- To: "TLUG mailing list" <tlug@example.com>
- Subject: Re: access mode of a directory
- From: "SN_Diamond" <Norman.Diamond@example.com>
- Date: Mon, 2 Jul 2001 16:01:59 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain;charset="iso-2022-jp"
- References: <20010702115927.91FB.AKAMINE@example.com> <3B3FFD12.F5395AE1@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <AbkIk.A.CwC.ByBQ7@example.com>
- Resent-Sender: tlug-request@example.com
A.Sajjad Zaidi wrote: > Hector Akamine wrote: > > > I am using .htaccess in apache to restrict the files of a > > directory (originally with mode 755) to be viewed only when the correct > > username and password is provided. But the contents of the directory can > > obviously be seen by anybody who can log to the machine. Does changing > > the permissions to 711 prevent this? > > To do this you will have to set the permissions to 750 for the directory > and change group to nobody (or whatever apache is set to use). Oh, don't do that. If you only want apache to see it, make a separate group apache (unless it already exists) and change the directory's group to this apache group. > However anyone in the same group will be able to see inside. Exactly. That might mean every samba client, and there might be other ways to get in too. "Nobody" doesn't exactly mean everybody, but it comes pretty close to meaning every stranger.
- Follow-Ups:
- Re: access mode of a directory
- From: Hector Akamine <akamine@example.com>
- Re: access mode of a directory
- From: "A.Sajjad Zaidi" <sajjad@example.com>
- References:
- access mode of a directory
- From: Hector Akamine <akamine@example.com>
- Re: access mode of a directory
- From: "A.Sajjad Zaidi" <sajjad@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: shell on Win32
- Next by Date: Re: access mode of a directory
- Prev by thread: Re: access mode of a directory
- Next by thread: Re: access mode of a directory
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links