When a car driven by young people is pulled over by the police, the police are anxious to search it and will seek an excuse or the consent of the driver or owner to do so. If there is no direct evidence of criminal activity - usually drugs or their smell - The police will pressure the driver for consent to search. Sometimes the driver is quite willing to allow the search, sometimes not. The police will threaten to bring a police dog to smell the car in order to pressure the driver to allow them to search. They will say things like, "You must be hiding something if you won't let me search." Most of the time, young people feel intimidated and allow the officer to search.
Other times, the officer will see a roach or a baggy or pills in plain view or will smell the odor of burnt marijuana. In these cases, the officers have "probable cause" to search. They will even say they smell marijuana if none has been smoked in the car ever. It's impossible for them to smell this but they will lie any time they feel the need to in order to get what they want. If they find marijuana, they were right. If they don't, the driver leaves and the officer suffers no harm for his illegal search.
Once a search starts, the officer will usually search the car and everything in it, including backpacks and purses belonging to other passengers. This is the time for other passengers to know the law.
If the officer has probable cause to search, meaning he smelled weed or saw something in plain sight, he can search the car and everything in it no matter who it belongs to. If he finds something, the owner of the bag he found it in will be arrested.
However, if the officer is relying on the consent of the driver to search, he can only legally search what belongs to the driver, not what belongs to others in the car. So if a passenger's purse is in the back seat and the officer finds marijuana in it, the search is illegal and can't support a conviction for Possession of Marijuana. The officer must ask permission of each person in the car to search that person's individual bag. A defendant will absolutely need an attorney to make this argument for him in court.
This permission must also be gotten to search the clothing or pockets of anyone in the car if there is no probable cause.
It's things like this that make it important to have an attorney representing you if you are arrested. I am Dave Howard, Attorney at Law. You can reach me at www.davehowardlaw.com.