You will have a serious security problem, if you want to share files on the internet, it is recommended that use another system (eg: DAV), encrypted digital certificates. In any case you choose to use Samba, I recommend a strict review of security through a VPN. All of this with a good firewall protection.