You can control which kind of user has access to a site. Note that Atlassian Confluence and Jira permissions still apply to all Atlassian content spaces, projects and portals on your site.
Head to the Refined Administration.
Click Sites in the left-hand menu.
Pick the site you want to work with.
Click on the Permissions tab.
...