Yes but not this way. You have to open an ssh tunner outside web2py and then instruct web2py to connect to the database using the port used by the tunnel.
Massimo On Aug 23, 7:47 am, Don <sam...@gmail.com> wrote: > Is it possible to define a secure database connection? > > Ex: db = DAL(‘postgres://user:passw...@hostname/db’, pools=10, > secure=True) > > My production DB and web servers are running on a different machines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---