Click here to Skip to main content
15,885,702 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am developing an app to connect to specific WiFi network. It works fine, but after connecting to the network a user can share WiFi password by tapping on the connected network name through QR code. Its a nice feature, yet it is a security threat because a user who is connected to the network can share the password to others. I think there should have an option to turn off this mechanism but I did not find any. So, I decided to design my app to be able to disable tap to share option or hide the connected network name form WiFi list. I just want to protect users from sharing WiFi password with others. Any help? 


What I have tried:

I googled a lot but did not find any workout.
Posted
Updated 22-Jan-19 8:06am
Comments
F-ES Sitecore 22-Jan-19 10:42am    
These things are almost never possible. Being able to disable system-wide functions from an app would be a major security risk to the whole device.

Rather than trying to disable security features you should incorporate some kind of security into the app itself that would make it harder for people to share credentials.
Member 12360367 22-Jan-19 11:12am    
You are right F-ES Sitecore. If so, how can I protect my WiFi password? My app preserves WiFi credentials and makes connection to a WiFi network using this credentials on user's phone, then he/she can easily go to WiFi settings of the phone and share QR code of that credentials to others. How my app or I can secure this password? Is it not a security threat? WiFi security is gone now.
David Crow 18-Oct-19 11:38am    
Maybe I'm missing something entirely obvious, but:

"...a user who is connected to the network can share the password to others."

If a user decides to share their credentials with others, what concern is it to you? What if that person shared their password the old fashioned way...with words, or written on paper?

1 solution

Quote:
he/she can easily go to WiFi settings of the phone and share QR code of that credentials to others. How my app or I can secure this password? Is it not a security threat?

You can't: it's a system wide function and by design. If they install the appropriate app they get the password as a QR code. You can't stop that, with or without your app.

The solution is to regularly change your WiFi password ... which is a real PITA nowadays, I'd need to change at least 10 devices to keep them online!
 
Share this answer
 
Comments
Member 12360367 24-Jan-19 1:42am    
Thanks OriginalGriff. So, I can't. WiFi is open for all now.

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