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
Post a Comment