Elizabeth Weise

USA TODAY

SAN FRANCISCO – A slight majority of Americans say Apple should unlock the iPhone used by one of the killers in the San Bernardino, Calif. massacre.

A survey concluded Sunday by the non-partisan Pew Research Center found that 51% of Americans say Apple should assist the FBI in its efforts to unlock the iPhone belonging to Syed Rizwan Farook, one of the shooters.

Just 38% said Apple should not unlock the phone to ensure the security of its other users' information, while 11% said they didn't know what should be done. The Pew survey was conducted between Feb. 18 and 21.

Those numbers fit with a USA TODAY poll conducted by SurveyMonkey which also found that 51% of Americans support the FBI's request.

Public support for Apple in FBI standoff isn't strong

One interesting note was that in an era of stark bipartisan splits, Democrats and Republicans have almost the same feelings on this particular case.

“The majority of both Republicans and Democrats say Apple should help the FBI unlock the iPhone. It’s 56% of Republicans and 55% of Democrats,” said Carroll Doherty, Pew’s director of public research. Independents were less convinced, 45% said Apple should unlock the iPhone while 42% said it should not.

The legal case currently in the news involved an iPhone 5C that belonged to Farook. It is owned by his employer, the San Bernardino County Department of Public Health.

The FBI believes the phone may be locked with a security feature that automatically deletes the cryptographic key necessary to un-encode it if ten failed passcode attempts are made.

U.S. Magistrate Judge, Sheri Pym ruled Feb. 16 that Apple must provide the FBI the means to overcome that particular security feature. That would allow the agency to make unlimited tries to guess the passcode and, if it succeeds, gain access to whatever is on the phone.

Apple has challenged the order.

Both Apple and the FBI have been making statements and posting open letters about the issue in the past week, in attempts to sway public opinion.

FBI director says take deep breath on iPhone spat

Public sentiment a moving target

How Americans feel about the trade-offs between online privacy and security depends on what's been most recently in the news, polling by Pew finds.

In general, Americans are more concerned about security in the aftermath of terrorist attacks but more concerned about privacy rights when revelations are made about government surveillance.

“There’s been a tension about these issues almost since 9/11,” said Doherty.

“This is the latest episode that exposes these tensions, where people worry about privacy and at the same time they worry about overreach by the government,” he said.

Apple urges government to drop iPhone request

After the San Bernardino and Paris shootings, 56% of Americans were concerned U.S. anti-terror policies had not gone far enough to protect the country. That compared with 28% who were concerned the policies have gone too far in restricting civil liberties.

However, just after Edward Snowden revealed in 2013 the extent of U.S. surveillance of citizens and non-citizens alike, a Pew poll found 48% of Americans approved of the government’s collection of telephone and internet data as part of anti-terrorism efforts.

By January 2014, approval had declined to 40%.

Later that year 47% of Americans said anti-terror programs had gone too far in restricting civil liberties while only 35% said they hadn’t gone far enough.

The numbers come from several surveys Pew had done on the topic of security and privacy over the past 15 years.

Long term, Americans appear to be becoming more concerned about their privacy and sharing of their personal data, Pew found. In 2013, a full 91% of adults believed consumers have lost control of how their personal information is collected and used by companies.

In 2015, Pew found that few Americans are very confident that records about them maintained by both public and private groups will remain private and secure.