Create fragments on Confluence pages visible for the specified users only
You can define macro body in edit mode. Also you can pick users and groups who will see the body. Everyone who can edit page can see macro body in edit mode.
If user is member of specified group or if user is specified directly in macro parameters then body contents are displayed
Annonymous access mode
User who are not in list (as long as anonymous users) will see nothing
Privacy and security