I'm pretty sure it would be illegal, in theory your "stealing" their internet, but then again i live by the theory if they arent going to notice and they cant catch you its not realyl illegal :) lol. As for secured wifi, it would just be the same as unsecured I think would find but the same rule...