View published content to anonymous users front page only I have the Content access module installed, but it's not good for sorting this. I just want to make it so deny access is not denied on frontpage.

In permissions I have de-selected view publish content for anonymous users, but how can I make it so they can view the front page?
As long as they don't have permission to view content, and as long as your template file(s) say print render($page['content']) then they should be denied access.

However, you could do something like this:


Make a custom template file called page--front.tpl.php inside your theme's folder
Copy the contents of page.tpl.php to that file
Alter the new page--front.tpl.php file so that it either doesn't render any content anywhere (including the sidebars), or make it so it only renders the content to logged in users.


Example:

&lt;?php if (user_is_anonymous()): ?&gt;
  &lt;?php print t('Hello. This is where you would normally see content.'); ?&gt;
&lt;?php else: ?&gt;
  &lt;?php print render($page['content']); ?&gt;
&lt;?php endif; ?&gt;