title: Limit wifi access using .net application
body: <p>Currently following is the setup of my wifi connection.</p>
  
  <blockquote>
    <p>Laptop 1 ------> Wifi Router &lt;------
    Laptop 2</p>
  </blockquote>
  
  <p>There are about 5 laptops which connect to the wifi router to access internet. Network is password protected so anyone with a valid network key can connect and access internet.</p>
  
  <p>I am planning to develop a local website which will be having a list of username and passwords. I will also remove the password of the wifi network so that anyone can connect. </p>
  
  <p>If a connected system tries to access a web page in the internet then redirect them to a Login page (in the local website) and ask them to login. Once successfully logged i,n the mac id should be added to "Allow" list and monitoring starts. Internet should not be available for those who don't have a valid username and password.</p>
  
  <p>I was thinking about developing the application to block/allow internet access though a vb.net/c# application.</p>
  
  <p>I am okay with the website part. What I would like to know is </p>
  
  <ol>
  <li><p>How I can block/allow internet access through the .net application. </p></li>
  <li><p>Is it possible in .net or should I be going for an unmanaged code development?</p></li>
  <li><p>If it is possible where is the best place to start? I have experience in winforms development but not much of network programming.</p></li>
  <li><p>Will there be any change in my current wifi setup? May be a new webserver/proxy server which will host the website and the windows application?</p></li>
  </ol>
  
  <p>Sorry about too many questions ;-)</p>