Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 01360475A86 for ; Sun, 19 May 2002 07:43:58 -0400 (EDT) Received: from web12606.mail.yahoo.com (web12606.mail.yahoo.com [216.136.173.229]) by postgresql.org (Postfix) with SMTP id 8430A475A17 for ; Sun, 19 May 2002 07:43:52 -0400 (EDT) Message-ID: <20020519114355.66376.qmail@web12606.mail.yahoo.com> Received: from [213.19.147.27] by web12606.mail.yahoo.com via HTTP; Sun, 19 May 2002 04:43:55 PDT Date: Sun, 19 May 2002 04:43:55 -0700 (PDT) From: ameen eetemadi Subject: php-postgres-apache Security To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200205/70 X-Sequence-Number: 1202 I am writing php on a server(OS:linux,WebServer:apache) that other users can write cgi and have shell on it . I want to connect to a postgres server in my php file without asking username and password ! then I must write the username and password in this file . Then other users can read it and drop my database . can I connect to the postgres through .php file without a security bog? __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com