title: Prevent direct access to some page in JSF
body: <p>I want to restrict direct access to certain page in my application. Those pages can only be accessible if the user is redirected to those pages by the application. </p>
  
  <p>All the redirections are done via <code>ExternalContext#redirect(url)</code> method. </p>
  
  <p>User can use back and forward button, also can refresh the page by pressing F5 or via browser's refresh button. What I want is user cannot save, or bookmark URLs of some page, also cannot copy those redistricted URL and paste and go via address bar of the browser.</p>
  
  <p>Followings are the cases:</p>
  
  <ul>
  <li>Say, I have Page-A and Page-B.</li>
  <li>Redirection is done to Page-B from Page-A.</li>
  <li>User can go back to Page-A and can come again to Page-B by using browser's back and forward button.</li>
  <li>User can refresh Page-B and he/she will stay in Page-B.</li>
  <li>User CANNOT copy the URL of Page-B and access it later time (in new tab or by bookmarking).</li>
  </ul>
  
  <p>Is it feasible? Any pointer would be very helpful to me.</p>