Click here to Skip to main content
12,623,511 members (29,250 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# VB .NET VB.NET
Am coding an application that will redirect Internet users using my shared wifi network to a webpage which will let them login before allowed o access the internet.

i read some info about Native wifi api, but dont see the connection with intercepting users to make sure they are logged in first before access the internet.

can anyone help me with any piece of information in this regards
Posted 5-Jun-12 5:08am
Comments
Qaiser Nadeem 28-Sep-15 6:29am
   
Hello Cool Smith...
I also want to create an application in asp.net to manage my wifi network.
can you please help me in this matter?
waiting for quick response..

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You need to set up what is called a Proxy Server. That is, all users must connect THROUGH your system. You use session cookies or some similar mechanism to control their access. If they don't present the right cookie, direct them to the login page, which sends them a suitable cookie if their credentials are good. If they already have the cookie, then pass the request on to the Wild Wild Web. Note that your proxy server must sit (logically, anyway) between your WiFi access point (router?) and the internet. Our good friend Google will tell you all you need to know (and then some!) about setting up a proxy server.

Peter
  Permalink  
Comments
Cool Smith 6-Aug-12 21:39pm
   
all computers connect through a lan,the lan is connected to the router. but for wifi access, they would be connecting thourg my server wifi. how do i sit the proxy server must sit between WiFi and the internet

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 5 Jun 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100