The Pennsylvania attorney general wants former Penn State assistant coach Jerry Sandusky kept inside his home until his trial.
Sandusky faces dozens of counts on child sexual abuse.
His house on the outskirts of State College also borders a local school.
Prosecutors want Sandusky's bail conditions changed after getting complaints he's allegedly watching children at a nearby schoolyard from the back porch of his home.
Sandusky is on house arrest awaiting trial on charges.
The attorney general's office argued in court papers filed Tuesday that Sandusky's bail be revised so that the former Penn State assistant coach isn't allowed outside unless he's getting medical treatment.
They say Sandusky should be jailed as he awaits trial on 52 criminal counts related to sexual abuse of boys.
Sandusky has maintained his innocence.
There's a court hearing on Friday regarding his bail conditions.