Anonymous users can't View details of a Contact in a public directory Listing
It is not possible to expose contacts to anonymous users. 

The only place where this is possible is with registered participants for an event because you could create a public participant listing. 

The other way to expose data to anonymous users to use a module from your CMS. In Drupal you could use the views module, and in Wordpress you can show a profile list on a wordpress page.