SAN JOSE, California (Reuters) - President Barack Obama on Friday staunchly defended the sweeping U.S. government surveillance of Americans' phone and internet activity, calling it a "modest encroachment" on privacy that was necessary to defend the United States from attack.