title: Restricting access to Site Public pages for select Users
body: <p>Is it possible to restrict access of Site public pages for a few Users through configuration?</p>
  
  <p>Now by default in liferay anybody can access the Public pages [that is the reason they are named Public Pages :-) ] of any Site whether <code>Open</code>, <code>Restricted</code> or <code>Private</code>.</p>
  
  <p>In our system we force login to access even Public pages, but once logged-in the User can see the public-page of any Site if he has the URL for it.</p>
  
  <p><em>To make the requirement more clear:</em></p>
  
  <p>I have 3 users in the system, <code>User01</code>, <code>User02</code>, <code>User03</code>.
  I have 3 Sites - <code>Site01</code> (open), <code>Site02</code> (restricted), <code>Site03</code> (private)
  These Sites have only one User respectively.</p>
  
  <p>All these 3 users can see public-pages of all three Sites. So now what I want is that only <code>User02</code> should be an exception, that is <code>User02</code> should not be able to access the Public-pages of <code>Site01</code> and <code>Site03</code>.</p>
  
  <p>Is this possible through configuration? Or will it require changes in liferay code (possibly through hook)?</p>
  
  <p>Even if we can limit access to Public-pages for all Users who are not member of that Site that will also work?</p>
  
  <p>Any ideas or help is much appreciated. Thanks.</p>