You'll get a warning that the Wi-Fi network you are connected to has weak security if the network is not using the latest security measures. For example, if the network is not protected by a password. To keep your devices secure it is strongly recommended that you only connect to networks that password protected.