0

Is iOS/Swift, is there any way to check if the WiFi access point my device is connected to is secure (encrypted) or open? I'd like to prevent a user from submitting a form

  • 1
    pls refer https://stackoverflow.com/questions/31555640/how-to-get-wifi-ssid-in-ios9-after-captivenetwork-is-deprecated-and-calls-for-wi – Harit K Sep 20 '17 at 13:48
  • @HaritK: interesting, thanks –  Sep 20 '17 at 14:04
  • Are you sure thats there you want the criteria for submitting a form to fail? I would move it down the chain to make sure the data coming off the phone is secure rather than trusting a wifi point simply because its encrypted tbh. – solenoid Sep 20 '17 at 14:35
  • @solenoid: data is sent over https (with no certificate pinning, unfortunately), but I can avoid a certain kind of mitm attack if I force the user to use a decent network –  Sep 21 '17 at 06:14
  • are you doing this yet out of curiosity? https://infinum.co/the-capsized-eight/how-to-make-your-ios-apps-more-secure-with-ssl-pinning – solenoid Sep 21 '17 at 13:02
  • @solenoid: it's a real project with absolutely NO security requirements, but it's a way for me to test and learn things –  Sep 21 '17 at 14:20

0 Answers0