One of the open source benefits is the ability to distribute the software to others under the open source license. So if you gave your friends an open source license (which you can do) they could then license the software to anyone else they want to under the same license (As that is part of the definition of open source). If you want to restrict them from doing this, you could make your own custom license that restricts this (but it would not be open source).