If you’re traveling in a foreign country and you’re looking to hook up your iPhone or iPad to a nearby WiFI hotspot, it seems that an app for the iPhone called 4sqwifi will attempt to fetch you the passwords of password-protected WiFi hotspots that are within the vicinity.

We’re sure that there are plenty of us who have attempted to search for local WiFi hotspots while on the go. Not only does WiFi eat up less battery than 3G, but it will also help curb data consumption, especially for those who are traveling in foreign countries and would like to avoid paying exorbitant data roaming fees. Unfortunately not everyone is generous with their WiFi and generally make it a rule to password protect their networks.

Some locations however will give you a password, assuming that you are a paying customer at their establishment. If you are trying to avoid paying $10 for a cup of coffee just to use WiFi, 4sqwifi will actually scan nearby Foursquare locations and filter those where users have left tips that contain the WiFi password of the particular network. For those unfamiliar, Foursquare is an app that allows users to check into locations and share that information with their friends, and also to leave tips about that particular location that might help others in the future.

Of course the tips could be old, and passwords change from time to time, and it is a bit rude (and possibly illegal) to hook onto another person’s network without their permission, but for those interested, 4sqwifi is available for download from the iTunes App Store.

Filed in Apple >Cellphones. Read more about , , and .