Congress should authorize no-buy lists but mandate that appropriate protections be put in place. If the attorney general believes a suspected terrorist should be added to the list, she should have to go to court first and offer up evidence. Only after concluding that the attorney general has probable cause should the court approve the denial of the suspect’s right to buy a gun.

This court proceeding, of course, would be secret. Although that denies the person included on the no-buy list the opportunity to rebut the attorney general’s evidence, we do the same thing every day with search warrants and wiretaps for criminal suspects. Our right to bear arms is no more fundamental than our right to privacy, and treating them similarly can help keep us safer from terrorists.

For maximum secrecy, Congress could assign these probable cause determinations to the jurisdiction of the existing Foreign Intelligence Surveillance Court. The judges on this court have a deep understanding of the nation’s national security threats.

Similar procedures for denying someone the right to possess firearms are already in place for domestic abusers. A person harmed or threatened by her spouse can obtain a court injunction barring the spouse from being near her. Under federal law in certain cases, the spouse will also be denied the right to have a gun.

Some opponents of gun control complain because such injunctions are issued without first notifying the spouse, but the courts have consistently said the practice is constitutional.

To ensure that the no-buy list isn’t being abused, the law should also require that the attorney general file periodic, confidential reports to an appropriate congressional oversight committee where pro-gun lawmakers can police any executive branch abuses.

Of course, like any law, a no-buy list won’t be a perfect solution. (And an imperfect version of a no-buy list, with tight deadline requirements, was proposed in the Senate last year.) With over 300 million guns in America and private gun sales allowed with no background check whatsoever, a determined terrorist will most likely still be able to obtain guns. Yet the easiest, most convenient way to buy guns — from a gun store, with the best prices and selection, like the one where the Orlando attacker bought his guns — wouldn’t be available.

The best way to honor those who died in Orlando is to do everything we can to reduce the chances of more innocent lives being lost to terrorism. And we can do it while respecting the Constitution.