you can set the TRUST connection to postgis database.
in pg_hba.conf (/etc/postgresql/VERSION/main/pg_hba.conf)
you define:
hostssl  all        mapas            172.17.0.1/24    trust
where:
    hostssl: only accept ssl connection
    all       : all databases, you can change to your database name
   mapas: database username
  172.17.0.1/24: WEB SERVER or router
  trust: don't prompt for password



2012/3/29 Pedro Costa <[email protected]>

> Hello,
>
> I'm using Mapserver with pmaper and i want encrypt the password of a
> postgis connection in mapfile.
> Someone can tell me how I do that?
>
> Thanks
>
> Pedro
> ______________________________**_________________
> mapserver-users mailing list
> [email protected].**org <[email protected]>
> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>



-- 
--------------------------------------------------------
http://pelinrodriguez.wordpress.com
--------------------------------------------------------
 Atentamente
         Rolando Sergio Rodriguez
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to