public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: "William Stanard" <wstanard@palmertrinity.org>
To: Ray Olszewski <ray@comarre.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: keeping legitimate users out of public_html
Date: Mon, 20 Sep 2004 12:49:08 -0400	[thread overview]
Message-ID: <fc.004c4e0000637dea004c4e00006307dc.637dfd@palmertrinity.org> (raw)
In-Reply-To: <5.1.0.14.1.20040915100132.01f29c78@celine>

Ray Olszewski <ray@comarre.com> writes:
>At 08:15 AM 9/15/2004 -0400, William Stanard wrote:
>>I help students manage a school intranet website on a machine running Red
>>Hat 2.4.18-14 and Apache 2.0.40.
>>
>>How do I keep my student users with accounts on the machine from being
>>able to access, via Putty, /home/bobo/public_html, the directory in which
>>I keep all of the content for the site, including tests and quizzes for
>my
>>students' online use?
>>
>>  I can password protect, using .htaccess, specific directories from
>>"unauthorized" access, but I would like to provide similar protection for
>>the /home/bobo/public_html/Prog/tests directory.  If I change permissions
>>via chmod, however, then Apache will not be able to serve the pages to
>the
>>intranet.
>
>This is actually a tricky problem, taking you into one of the blurry
>areas 
>of Unix/Linux permissions. One way to solve it: first check what userid 
>apache is running under and what groups that userid is part of. 
Thank you very much for the reply. I am using what you said and what
Stephen posted to solve the problem.... but, and this seems so simple, I
am embarrassed to ask, how do I determine what userid apache is running
under? 

Bill Stanard




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2004-09-20 16:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fc.004c4e00006307dc004c4e00006307dc.6308bf@palmertrinity.o rg>
2004-09-15 17:14 ` keeping legitimate users out of public_html Ray Olszewski
2004-09-20 13:59   ` Stephen Samuel
2004-09-20 16:49   ` William Stanard [this message]
     [not found]   ` <fc.004c4e0000637dea004c4e00006307dc.637dfd@palmertrinity.o rg>
2004-09-20 17:31     ` Ray Olszewski
2004-09-15 12:15 William Stanard
2004-09-15 12:20 ` William Stanard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc.004c4e0000637dea004c4e00006307dc.637dfd@palmertrinity.org \
    --to=wstanard@palmertrinity.org \
    --cc=linux-newbie@vger.kernel.org \
    --cc=ray@comarre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox