Re: [GENERAL] cgi with postgres

From: Stephane Bortzmeyer <bortzmeyer(at)pasteur(dot)fr>
To: Jeff MacDonald <jeff(at)hub(dot)org>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] cgi with postgres
Date: 2000-01-17 13:55:18
Message-ID: 200001171355.OAA27261@ezili.sis.pasteur.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 14 January 2000, at 16 h 55, the keyboard of Jeff MacDonald
<jeff(at)hub(dot)org> wrote:

> make cgi dir 711
> big deal, they can get the name of the file
> from the web, and copy it.

My CGIs sources a config file, in mode 700, only readable by 'www' (the user
which executes Apache).

I adopted this after a CGI was inadvenrdently made available on the Web, in
source form :-)

If you have CGI authors you do not trust, have two Apache, with different IDs.

> this is assuming they already have an account
> on the machine, something that cannot be ruled
> out.

Unix file protections are enough against local users.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Davis 2000-01-17 15:07:29 Re: [GENERAL] How do you live without OUTER joins?
Previous Message Moray McConnachie 2000-01-17 11:35:21 Re: Re[2]: [GENERAL] case-insensitive like operator