@oralloy,
The following comes from Wikipedia.
"The courts have upheld most of these laws as being constitutional.[75] The basis for the lower court rulings is the paragraph near the end of the Heller ruling that states:
Nothing in our opinion should be taken to cast doubt on longstanding prohibitions on the possession of firearms by felons and the mentally ill, or laws forbidding the carrying of firearms in sensitive places such as schools and government buildings, or laws imposing conditions on the commercial sale of arms.[76]"