Kasbah is a type of medina, Islamic city.It was a place for the local leader to live and a defense when a city was under attack. A kasbah has high walls, usually without windows. Sometimes, they were built on hilltops so that they could be more easily defended. Some were placed near the entrance to harbors.