🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2819

Conexión a postgreSql desde php

#2819
From: Gambito
Date: Mon, 26 Sep 2005 22:16
12 lines
1425 bytes
�Existe alguna forma de que al usar la funci�n

pg_connect("host=miHost port=miPuerto tty=miTTY options=misOpciones 
dbname=miBD user=miUsuario password=miContrasenya ");


no pase la contrase�a en texto plano?. El problema que tengo es que uso 
una m�quina en la cual otros usuarios tienen acceso ssh, eventualmente 
podr�an ver el archivo php y ver la clave. �Qu� m�todo se usa para 
evitar esto?.

Gracias
Technical Details
Message-ID: <dh9s2u$4rb$1@helcaraxe.dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,5f8140643cbd0a87,start
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
From: Gambito <gambito@noalspam.cl>
Newsgroups: chile.comp.programacion
Subject: Conexión a postgreSql desde php
Date: Mon, 26 Sep 2005 18:16:56 -0400
Organization: DCC - Universidad de Chile
Lines: 12
Message-ID: <dh9s2u$4rb$1@helcaraxe.dcc.uchile.cl>
NNTP-Posting-Host: anakena.dcc.uchile.cl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: helcaraxe.dcc.uchile.cl 1127773086 4971 192.80.24.6 (26 Sep 2005 22:18:06 GMT)
X-Complaints-To: newsmaster@dcc.uchile.cl
NNTP-Posting-Date: Mon, 26 Sep 2005 22:18:06 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en