This question already has an answer here:
I'm beginning to see more and more public device charging stations — okay, they're still mostly in airports — that include USB outlets, not just regular power outlets. Are these safe to use? Could someone with time, access and expertise rig one up so that it silently snoops in a connected phone's memory or loads a virus during charging?
To clarify, I know my phone usually asks me what to do if I connect it to something that tries to transfer more than just power, with a dialog box. I'm mostly concerned that there's a way for programs to unilaterally start doing things without a
Do you want to allow program BlahBlah to access your...