Communities Invites Only restricts non-panel members from accessing a survey link. Once this survey authentication is enabled, a shared survey link by the community member cannot be used to take the survey by a non-community member.
Survey should be sent from communities send option.
To enable Communities Invites Only: