Public access to hundreds of Defense Department computer Web sites was restored yesterday, after protection was installed against the damaging "Code Red" computer worm, a Pentagon spokeswoman said.