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@example.com
- Subject: Re: access mode of a directory
- From: Hector Akamine <akamine@example.com>
- Date: Mon, 02 Jul 2001 17:17:31 +0900
- Cc: akamine@example.com
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset="US-ASCII"
- In-Reply-To: <001a01c102c4$eedcfc30$0f01a8c0@example.com>
- References: <3B3FFD12.F5395AE1@example.com> <001a01c102c4$eedcfc30$0f01a8c0@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <6ohtEB.A.q5C.92CQ7@example.com>
- Resent-Sender: tlug-request@example.com
"SN_Diamond" <Norman.Diamond@example.com> wrote: > 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. When I clear the "execute" permission of the directory for "others" (e.g., doing chmod 750), apache does not let me access the files from the browser. Being the things like that, it wouldn't be possible to accomplish what I want (avoid people who can log to the server to access my directory). Am I wrong?
- References:
- Re: access mode of a directory
- From: "A.Sajjad Zaidi" <sajjad@example.com>
- Re: access mode of a directory
- From: "SN_Diamond" <Norman.Diamond@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: access mode of a directory
- 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