you can set the TRUST connection to postgis database.<div>in pg_hba.conf (/etc/postgresql/VERSION/main/pg_hba.conf)<br>you define:</div><div>hostssl  all        mapas            <a href="http://172.17.0.1/24">172.17.0.1/24</a>    trust </div>
<div>where: </div><div>    hostssl: only accept ssl connection</div><div>    all       : all databases, you can change to your database name</div><div>   mapas: database username</div><div>  <a href="http://172.17.0.1/24">172.17.0.1/24</a>: WEB SERVER or router    <br>
  trust: don&#39;t prompt for password</div><div><br><br><br><div class="gmail_quote">2012/3/29 Pedro Costa <span dir="ltr">&lt;<a href="mailto:pedrocostaarma@sapo.pt">pedrocostaarma@sapo.pt</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I&#39;m using Mapserver with pmaper and i want encrypt the password of a postgis connection in mapfile.<br>
Someone can tell me how I do that?<br>
<br>
Thanks<br>
<br>
Pedro<br>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>--------------------------------------------------------<br><a href="http://pelinrodriguez.wordpress.com" target="_blank">http://pelinrodriguez.wordpress.com</a><br>
--------------------------------------------------------<br> Atentamente<br>         Rolando Sergio Rodriguez<br>
</div>