Hey @mbarriga, thanks for using Dropbox and welcome to the Community!
Both ways are pretty safe to use to share your files with others. In the end, it would come down to how you'd like to share your files and if you need to grant others with view only rights or edit rights as well.
This means that you could use shared folders, shared links or the Dropbox Transfer feature if needed, according to your needs.
I hope this helps!