a method and device for preventing a browser - originating attack in a local area network . a security device in the local area network intercepts a message from a first device in the local area network towards a second device in the local area network . the message requests connection between the first device and the second device . the security device prompts a user of the first device to approve the connection . in the event that the user approves the connection the first device is allowed to connect to the second device , and in the event that the user does not approve the connection the connection attempt is terminated .