title: How to block out a div for a certain IP address
body: <p>I have to block out a certain div for a certain IP addresss 
  I am using asp here is the code:</p>
  
  <pre><code> &lt;%
  Dim sBlockedIP
  sBlockedIP = Request.ServerVariables("REMOTE_ADDR")
  'check if the IP is the one that is blocked
  If sBlockedIP = "00.000.00.00" Then
  'if IP address is banned then redirect to no_access.asp
  Response.Redirect "no_access.asp"
  End If
  %&gt; 
  </code></pre>
  
  <p>this is the html that needs to be blocked to this IP</p>
  
  <pre><code>    &lt;div id="social_media_outer"&gt;
        &lt;div id="social_media"&gt;
        &lt;div id="fb-root"&gt; &lt;script src="#"&gt;
        &lt;/script&gt;&lt;fb:like href="" send="true" layout="button_count" 
  show_faces="false" action="recommend" border="6" font=""&gt;
        &lt;/fb:like&gt;
        &lt;span  class='st_linkedin' &gt;
        &lt;/span&gt;&lt;/span&gt;
        &lt;span  class='st_facebook' &gt;
        &lt;/span&gt;
        &lt;span  class='st_sharethis' st_title="#"&gt;&lt;/span&gt;
        &lt;a href="http://twitter.com/share" data-count="none"&gt;&lt;img src="#" style="position:relative;
        bottom:-4px; border:none;" /&gt;&lt;/a&gt;&lt;script type="text/javascript" src="http://platform.twitter.com/widgets.js"&gt;&lt;/script&gt;&lt;span class="st_email" &gt;&lt;/span&gt;
        &lt;a href="javascript:print(document)"&gt;&lt;img src="http://www.gosh.org/facebook/sharethis/print_icon.gif" style="position:relative;
        bottom:-4px; border:none;" /&gt;&lt;/a&gt;
  
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>Can someone help please. </p>