DAL does not provide https encryption. I do not if the adapters support it 
either.

The solution is to create a SSH tunnel between the server and the database 
server and the use a URI string connecting to localhost.

On Thursday, 5 October 2017 14:21:22 UTC-5, appjar...@gmail.com wrote:
>
> Hello,
>
> I have a Web2py app I'm moving from a dedicated server to the cloud but 
> I'm leaving my MySQL database on the original server. 
>
> I am connecting to mysql via the DAL:
> db = DAL('mysql://username:passw...@db.example.com/', pool_size=8, 
> migrate = migrate_dev, lazy_tables=True, fake_migrate=True)
>
> I can't find any examples though on how to make this connection secure as 
> it goes across the public internet.  Can someone point me at the code need 
> on both the Web2py app and MySql server ends to make that happen?
>
> Thank you so much,
> -Mike
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to