python - Best way to access data from mysql db on other non-local machines -


i have read few posts on how enable remote login mysql. question is: safe way access data remotely?

i have sql db located @ home (on ubuntu 14.04) use research purposes. run python scripts macbook @ work. able remote login old windows os using workbench connection (dns ip). os change has got me thinking best/most secure way accomplish task?

use ssh login home computer, setup authorized keys , disable password login. setup iptables on linux machine if don't have firewall on router, , disable traffic on ports except 80 , 22 (ssh , internet). should started.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -