To buy a pistol you need to take a handgun safety quiz.
To buy that pistol you have to pass a background check.
In CA and some other states you have to wait 10 days. This hasn't slowed down gun crimes.
You can not buy it online and have it sent to your home. It must go through a FFL where you will have to take a background check.
These are the laws to buy a pistol online or in a store.
Now,
To get a CCW you have to give a reason why you want one.
You have to pass a background. You have to interview with two detectives separately. You have to pass a shooting test and take a two day course with a exam.
You have to be FBI livescanned at your expense.
To add, I've done all the above and own 3 safes, two for guns and 1 for ammo. Oh and one in my bedroom that only fits one gun.
I'm from CA where we had crazy gun laws. Have any questions about them? Just ask.
It's almost like people don't understand we have laws on the books now that prevent a bad guy from buying a gun.
The issue is theft of guns and those guns being used by bad guys. There's also a issue with mental health, violence, violence in video games, parents not having time to parent, social media, bullies and just overall crimes of passion.
Fix those issues and you will stop a lot of shootings. Take guns away and only bad guys will have them and you're really screwed. The police do not have to risk their lives for you.
Edit, if someone wants to kill a lot of people they can drive into a crowd to do so. They can do a lot of other things also that I won't go into. If a bad person wants to kill they will.