Block Particular User Login To Facebook Or Gmail

Block Particular User Login To Facebook Or Gmail

Overview

In corporation you have to restrict login usernames from Facebook and Gmail.Except selected users all can able to login into Facebook or Gmail.

Prerequisites

HTTPS Inspection should be enabled in SafeSquid. If not enabled, you can check our document - How to enable HTTPS Inspection

Access the SafeSquid User Interface

click on configure in safesquid interface 

Go to Search

click on search in access profiles section 

Search policy: "BLOCK PARTICULAR USER LOGIN"

 

Go to Content Modifier: Rewrite Policies

click on content modifier from the sidebar under Real Time content Security

Ensure Global Section with Enabled TRUE

ensuring the global section set as true
selecting true in global if it is set to false
click on submit to save the policy

Go to Rewrite Policies and make it Enable 

editing the policy
setting true value in enabled

Enter Username inside Pattern

entering the desired username pattern
click on save to save the policy

Search policy: "BLOCK PARTICULAR USER LOGIN"

Go to Access Profiles to Enable

going to access profile to enable the policy
clicking on edit policy to edit the policy
selecting true to enable it
save the policy

To test

Go to Facebook and Login
Try login to your Facebook account it will show you the below page:
testing the policy

Go to Gmail and Login

Try login to your Gmail account it will show you the below page:
testing the policy by login


    • Related Articles

    • Block Personal Gmail, Allow Google Corporate Accounts

      Overview Nowadays emails are used very frequently to exchange information between people using electronic devices. In some organization personal emails in the office network are not allowed. Personal emails are blocked to avoid spending of productive ...
    • block third party cookies

      Overview You can block the cookies for third-party domains. Control tracking your activity across different sites and you can hide the referer for third-party domains. Now referer is same as hostname. you can also hide the user agents for third-party ...
    • Facebook Read Only Mode

      Overview Facebook is a social networking website that allows users to interact with other users in a multimedia environment on the Web. Facebook users can install and use applications to enhance their experience. Many organizations want to allow ...
    • Discourage All Users from Login, Post and Upload

      Overview Prerequisites HTTPS Inspection should be enabled in SafeSquid. If not enabled, you can check our document - How to enable HTTPS Inspection Access the SafeSquid User Interface Go to Search Search policy: "READ ONLY" to Search Edit policies ...
    • Allowing Specific Page on Facebook

      Overview Facebook is a social networking website that allows users to interact with other users in a multimedia environment on the Web. Facebook users can install and use applications to enhance their experience. Many organizations want to block ...