Optimal Information Security Investment in Modern Social Networking