A federal judge issued the ruling ahead of the trial, which is scheduled to begin on October 13.
Court documents say the material includes videos of people drinking and dancing of a "sexual nature" and people describing sexual activity.
RELATED: FBI Oakland bribery case: Defendant took secret, compromising videos of politicians, records show
Though recordings of politicians not charged in the bribery and corruption case will stay confidential.
Prosecutors in the case allege that co-defendant Andy Duong took videos of politicians in compromising positions to use as leverage.