When we have debates about the meaning of the Second Amendment, we tend to only take into account the phrase that says "The right of the people to keep and bear arms shall not be infringed". However, the Second Amendment says that "A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed".
The phrase "well regulated militia" is arguably a provision that prevents the federal government from interfering with the defense of a state. However adding the word regulated, implies that the Framers did not intend for this right to not have exceptions. In response to a question asked earlier in this discussion, there are checks to the First Amendment. There are time and place restrictions that prevent people from shouting fire in a crowded building or restrictions that prevent people from randomly protesting on highways to stop traffic. There are certainly exceptions to every right.