The Bill of Rights is a limitation upon government not upon individuals
The Bill of Right came about because the Conventions of a number of the States having at the time of their adopting the Constitution, expressed a desire, in order to prevent misconstruction or abuse of its powers. The Second Amendment's object was to prevent Congress from abusing its power to "provide for organizing, arming, and disciplining the Militia", by neglecting "to provide for arming the militia", by declaring "that each state respectively should have the power to provide for organizing, arming, and disciplining it's own militia, whenever congress should neglect to provide for the same."
George Mason during the Virginia Ratification Convention expressed a widespread distrust of Congress and the possibility that it would not fund the arming for the militia as an excuse for the creation of a standing army, which could later to be used as an instrument of tyranny by Congress.
The militia may be here destroyed by that method which has been practised in other parts of the world before; that is, by rendering them useless—by disarming them. Under various pretences, Congress may neglect to provide for arming and disciplining the militia; and the state governments cannot do it, for Congress has an exclusive right to arm them, &c. … Should the national government wish to render the militia useless, they may neglect them, and let them perish, in order to have a pretence of establishing a standing army. … But when once a standing army is established in any country, the people lose their liberty. When, against a regular and disciplined army, yeomanry are the only defence,—yeomanry, unskilful and unarmed,—what chance is there for preserving freedom?
The Second Amendment was meant to be protection against a possible abuse by Congress.
The right protected is really the right of a state to maintain an armed militia, or national guard, as we call it now. The American people feared that Congress might, by passing a law, prohibit the states from arming their citizens. Then having all the armed strength at its command, the national government could overwhelm the states. Such a circumstance has never happened, but this amendment would prevent it.
The Second Amendment does not give anybody or everybody the right to possess and use firearms. The states may very properly prescribe regulations and permits governing the use of guns within their borders."