During the Black Death, while plague killed a huge proportion of the World's population there were some places that managed to escape mass outbreaks all together- Poland and Milan most notably. Milan adopted a rather brutal but effective strategy of walling up the homes of anyone infected with the disease with the occupants inside, there seems to be less clarity over how Poland avoided it, but one theory is that they pretty much close the borders as well as a medieval state could.
The most effective strategies for countering the plague were the most offensive to individual rights and personal liberty. A major outbreak of an infectious disease is one of the few times where it is justifiable to put the collective good above individual rights. The outcry over a relatively minor quarantine period for those people who have been at the heart of the Ebola infected region of West Africa is not based on "the science" which is contentious, but on knee jerk ethical preening.