The alleged victim's attorneys had sought to his identity, saying it could appear in court documents or be disclosed in statements by Sandusky or his attorney.
Perry and Juniata County President Judge Kathy Morrow granted that request Tuesday. The victim will be referred to as "John Doe" going forward.
Attorney Andrew Shubin says his client is afraid of being publicly identified.
Sandusky is accused of sexually abusing eight boys he met through the charity he founded. Some of the alleged abuse happened on Penn State's campus.
Sandusky says he's innocent of the charges against him.