If you want to make a file in your Google Drive and only invited people can view, there is a way to do it.
1. Click the SHARE tab at the top right corner
2. After clicking SHARE, you will get a pop-up. Click the down arrow and choose CAN VIEW, then type in the email addresses of those people you allow to view
3. Click the tab DONE after you have type in the email addresses, and now if someone not invited try to open the file to view, he or she will see a YOU NEED PERMISSION message: