title: How to prevent copy of URL in Parent Window
body: <p>In my application I am opening my application page in a Child Window. When I look these in IE, It doesnt show any URL this is great but When I check it in Firefox and Chrome I shows me URL.</p>
  
  <p>My Question is Can I hide address bar in Child Window for Firefox and chrome.</p>
  
  <p>I want to prevent User to copy paste URL in Parent window and access the page.</p>
  
  <p>I m using form Authentication</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
          &lt;forms loginUrl="~/login.aspx" protection="All" timeout="3600" name=".ASPXAUTH" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseUri" enableCrossAppRedirects="false"/&gt;
      &lt;/authentication&gt;
  </code></pre>
  
  <p>I have tried using Authorization="?"
  I have tried using a javascript to check whether this is a parent window or child window.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          if (typeof window.opener != "undefined")
              alert("I was opened from within " + window.opener.location.href);
          else if (window != top)
              alert("You came here from " + document.referrer);
  &lt;/script&gt;
  </code></pre>
  
  <p>But the 2nd part is not working.
  Kindly Help me and let me know what I m doing wrong</p>