The Internet has fashioned a new and complicated environment for an age-old dilemma that pits the demands of security against the desire for freedom.