This is usually discussed during the negotiation with the freelancer.
To establish an exclusivity contract or an assignment of copyrights, simply ask the freelancer to specify it in his legal mentions (at the bottom of his quote, but you can also make a separate contract).
The text of an assignment of rights is interpreted strictly, everything that is not expressly assigned remains the property of the freelancer.