title: Remove or hide html links based on user permission when viewing the page
body: <p>I have a webpage with 100's of links to control a piece of hardware, I would like certain (guest) users to be able to see the entire page but basically render/serve this same page without any of the a href=" links.</p>
  
  <p>I already have the login mechanism and session/cookie set based on the user, I'm just wondering if there is a more efficient way to hide/remove all the a href=" links other than encapsulating each in a IF ELSE statement.</p>
  
  <p>For example, this is what I have today...</p>
  
  <pre><code>    &lt;% If Session("adminuser") = "true" Then %&gt;&lt;a target="hidden" href="/trigger.asp?cmd=ext-access&amp;data=on"&gt;External Access is off&lt;/a&gt;
      &lt;% Else %&gt;External Access is off
      &lt;% End If %&gt;
  </code></pre>