When it comes to voting rights, any obstacles outrage liberals; even free government-issued IDs are viewed as disenfranchising the poor and disproportionately blacks. But when it comes to the right to own a gun for self-defense, they don’t hesitate to pile on fees, ID requirements, expensive training and onerous background checks.

That’s too bad, because many law-abiding citizens in crime-ridden neighborhoods really do need a gun for self-defense. Since poor, urban blacks are the most likely victims of violent crime, there is little doubt that they stand to benefit the most from owning guns. Research, including my own, has demonstrated this.

A new report from the Crime Prevention Research Center shows that the average fee for a concealed handgun permit is $67, but it is much higher in the most Democratic states. Each 10-percentage point increase in a state’s presidential vote for Hillary Clinton was associated with an additional $30 in the concealed handgun permit fee. In California, where Clinton won by over 30 points, fees can be as high as $385 for just two years. In New York City, where she won by 60 points, a three-year permit costs $430.

In addition to prohibitive fees, some blue states — California, Illinois — require four times as many training hours as the national average, adding hundreds of dollars to the cost of obtaining a concealed-carry license. In California counties, the mandated cost of training can run from $250 to over a $1,000. Compare heavily Democratic Illinois where the cost of permit and training runs over $450 versus neighboring Republican Indiana where the total cost for everything is $50.

In some states, the poor need not apply even if they are willing to pay these costs. In the heavily Democratic-leaning states of California, Delaware, Hawaii, Maryland, Massachusetts, New Jersey, New York and Rhode Island as well as the District of Columbia, people have to demonstrate need for a permit to a local public official.

Los Angeles County illustrates how this discretion results in only a select few wealthy and powerful individuals getting permits. If Los Angeles County authorized permits at the same rate as the rest of the country, it would have around 600,000 permit holders. Instead, only 226 permits have been issued within a population of about 7.9 million adults, and many of them have been to politically connected individuals, including judges. Indeed, former Los Angeles County Sheriff Lee Baca earned a reputation for awarding permits to people who gave him campaign donations or generous gifts.

While women make up 36 permit of permit holders nationally; they only got 7 percent of the permits in the county. Though almost half the county’s population is Hispanic, only 6.5 percent of permits were given to Hispanics. Few were given to blacks.

In New York City, permits seem to go only to a politically approved segment of the rich and powerful. This includes union heads and people like Donald Trump, Howard Stern and Robert De Niro. Those who aren’t politically approved — Fox News’ John Stossel, for instance — don’t get permits no matter how many death threats they provide evidence of.

Are influential individuals really the only ones who have legitimate concerns for their safety?

Democrats continue to fight for higher fees. In Connecticut, the state fee for a concealed handgun permit is already $70. Gov. Dannel Malloy wants to raise it to $300. Adding local charges and additional payments for training and fingerprinting, this increase would bring the total cost of a permit to more than $500.

In Texas, the state fee for a concealed-handgun permit, $140, is one of the highest in the country. In May, the state Legislature passed a bill that will reduce the fee to $40, starting September 1. Not one Republican opposed the cut. In the state House, only 32 percent of Democrats supported it.

In 2013, the Colorado House of Representatives voted on whether to exempt people in poverty from a tax imposed on the transferring of guns between individuals. All but two Democrats voted against the amendment.

After the Supreme Court struck down the handgun ban in Washington, D.C., in 2008, the city quickly imposed the most onerous licensing and registration fees in the country. The total costs for a permit temporarily reached an incredible $834. Who but the affluent can afford such a fee?

Dozens of published peer-reviewed studies, including my own book “More Guns, Less Crime” from the University of Chicago Press (2010, 3rd edition), have demonstrated that those who are the most likely victims of crime benefit the most from owning guns.

The cops can’t be everywhere at once. Indeed, they rarely respond to live crime scenes at all. But unfortunately for poor people living in the country’s most violent neighborhoods, Democrats just don’t trust them with guns.

John R. Lott, Jr. is the president of the Crime Prevention Research Center and the author most recently of “The War on Guns.”