i need to create an application (python 3.3 strictly) where users will save/load their settings online to a remote hosted database. I do not wish to change the database from listening to any other thing than localhost for security reasons, so i assume the best solution for me would be to make the program create some ssh tunnels before the saving/loading happens.
Would this policy make my database unsecure?
How could i make this work? I tried installing paramiko but it is not python 3+ ready. I also thought maybe i could include into the application's installation, putty tray too and some proper scripting so that i can create that tunnel, but im looking for something clever and efficient here. Ofcourse i would really really really prefer avoiding any extra tray icons or shells from appearing every time a tunnel would activate.
Im asking here so that i can hear an opinion from someone with expirience. As im lacking of that :) . What would be your suggestion?
thx in advance