Restricting access by user

I mounted a 3TB USB drive. I established a network share which made it visible and accessible throughout the network, even by smartphones and IoTs in the Wlan. How can I restrict access to my Windows users, with existing user/password identification?