Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
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

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
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900