I live in the peoples republic of California.
It is not technically legal to transport a firearm in your car unless its for a CA legitimate reason. Carrying it to and from the gun range, gunsmith et cetera. Having it in your posession for self defense is not a legitmate reason according the CA law I beleive unless you have a permit to carry.
How many police are going to hassle you even when you're transporting it inside your car in a legal fashion? I don't know?
Most people don't understand how restrictive the state is. You cannot have any rounds in your pistol or even have a loaded magazine close to it. That may in itself be considered a loaded gun and is illegal even though you have a legitimate reason to carry it. Contrast this with driving over the border to Arizona where you can carry a loaded pistol in the car.
DO NOT, and I say again DO NOT put your gun in the glove box. California considers this a concealed weapon, and if something were to happen, and police end up finding it in your glove box you're in trouble. Someone I know purchased a Colt Python new in the box, he put it on the front seat, and just happened to get pulled over by the LAPD. They confiscated his gun because they considered it concealed being that the box wasn't locked.
If the pistol is in the driving compartment with you it needs to be in a locked container such as a breif case. If you put it in the trunk unloaded this will satisfy having it in a lockable container thats why the trunk is legal.
Penal Code 12001
(j) For purposes of Section 12023, a firearm shall be deemed to be "loaded" whenever both the firearm and the unexpended ammunition capable of being discharged from the firearm are in the immediate possession of the same person.
Penal Code 12023
(a)Every person who carries a loaded firearm with the intent to commit a felony is guilty of armed criminal action.
(b) Armed criminal action is punishable by imprisonment in a county jail not exceeding one year, or in the state prison.
Penal Code 12025.
(a) A person is guilty of carrying a concealed firearm when he or she does any of the following:
(1) Carries concealed within any vehicle which is under his or her control or direction any pistol, revolver, or other firearm capable of being concealed upon the person.
(2) Carries concealed upon his or her person any pistol, revolver, or other firearm capable of being concealed upon the person.
(3) Causes to be carried concealed within any vehicle in which he or she is an occupant any pistol, revolver, or other firearm capable of being concealed upon the person.
Penal Code 12026.1.
(a) Section 12025 shall not be construed to prohibit any citizen of the United States over the age of 18 years who resides or is temporarily within this state, and who is not within the excepted classes prescribed by Section 12021 or 12021.1 of this code or Section 8100 or 8103 of the Welfare and Institutions Code, from transporting or carrying any pistol, revolver, or other firearm capable of being concealed upon the person, provided that the following applies to the firearm:
(1) The firearm is within a motor vehicle and it is locked in the vehicle's trunk or in a locked container in the vehicle other than the utility or glove compartment.
(2) The firearm is carried by the person directly to or from any motor vehicle for any lawful purpose and, while carrying the firearm, the firearm is contained within a locked container.
Penal Code 12030
(l) Nothing in this section shall prevent any person from having a loaded weapon, if it is otherwise lawful, at his or her place of residence, including any temporary residence or campsite.
Penal Code 12031.
(a)(1) A person is guilty of carrying a loaded firearm when he or she carries a loaded firearm on his or her person or in a vehicle while in any public place or on any public street in an incorporated city or in any public place or on any public street in a prohibited area of unincorporated territory.
Penal Code 12034.
(a) It is a misdemeanor for a driver of any motor vehicle or the owner of any motor vehicle, whether or not the owner of the vehicle is occupying the vehicle, knowingly to permit any other person to carry into or bring into the vehicle a firearm in violation of Section 12031 of this code or Section 2006 of the Fish and Game Code.
http://www.packing.org/state/index.jsp/california