title: How to deny link in ASP.net?
body: <p>I have problem as follow , i will checked "group" and not access some link in ASP.net .
  Example :</p>
  
  <ul>
  <li><p>Submenu1</p>
  
  <p>+Link 1.aspx</p>
  
  <p>+Link 2.aspx</p></li>
  <li><p>Submenu2</p>
  
  <p>+Link 3.aspx</p>
  
  <p>+Link 4.aspx</p></li>
  </ul>
  
  <p>Now i want to checked , if user typing url in web browser, it will deny and redirect a link orther .
  Example: User have "group A" only access Link 1.aspx and Link 4.aspx. If user type <a href="http://contoso.com/link2.aspx" rel="nofollow">http://contoso.com/link2.aspx</a> , it will deny and redirect page Default.aspx. User have "group B" only access Link 2.aspx , if user type <a href="http://contoso.com/link1.aspx" rel="nofollow">http://contoso.com/link1.aspx</a> , it will deny and redirect page Default.aspx,...etc.
  Can you give me for some advice.Thank you. </p>