Texas is close to enacting a law that would provide teachers with detailed information about the criminal histories of their students, opening juvenile files that have been confidential in most states.

The legislation, spurred by the fatal stabbing of a high school teacher in Tyler in 2009, is adding to a national debate over whether teacher safety should outweigh the rights of young offenders, who traditionally have moved through the juvenile justice system with their privacy protected.