Common sense things to keep in mind
Normally these types of situations tend to become dangerous if we do not take certain measures that are rather common sense. For example, never accept memories or removable storage devices whose origin we do not know, for example by people we do not know enough about, and even certain external memories that are used for commercial purposes, since they can sometimes be used precisely to deceive us.
Therefore, when we ignore the content of the external memory, regardless of whether we connect it to the PC or our mobile, it is best to be extremely cautious with them. But it also happens sometimes that the exchange of this type of content is not malicious and also contains malicious files. Therefore, in any case, extreme caution must always be exercised.
Encrypt the data
This is an essential aspect if we want both the data we share, and the data they share with us, to be sufficiently secure. By encrypting the data we will not avoid that in the case of exchanging the data with other people they can fall into the wrong hands, but they can do something with that information. Thus, in the case of losing memory at a given moment, there will be no need to fear that someone may access the information.
Protect with a password
Protecting access to our mobile is essential to avoid intrusions. And access to the USB port of the terminal may be something to consider. For this reason, it is advisable to protect access to external memories that we connect to the mobile with a password. In this way they can not be manipulated by anyone but us. Whether we block the USB port, preventing the reading of the memory, or if we block this too.
use other alternatives
It seems like a no-brainer, but to keep these issues to a minimum, it might be best to look at other methods of transporting files from one place to another. Storage in the cloud is free in many cases and can be a good alternative to avoid having to carry USB sticks from one place to another, and especially loading those of unknown people or co-workers on our mobile.
The objective is to prevent a removable device from becoming a vehicle to transport malware to our mobile device. By taking these measures we are avoiding or minimizing the possibility of suffering some type of attack of this type.