Comment to Permissions for unauthenticated users
You can disable viewing profiles via Studio > Permissions > Actions > Unauthenticated > disable "View Person's Profile"
Also you can restrict people to \browse pages via Studio > Pages > Persons > New People (or other pages) > Settings > Visibility > check all levels except Unauthenticated