How to block particular user login to Facebook or Gmail

From Secure Web Gateway

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

Access the SafeSquid User Interface

LoginbSlide1 (1).png

 

Go to Search

 
LoginbSlide1 (2).png

 

Search policy : "BLOCK PARTICULAR USER LOGIN"

 
LoginbSlide1 (3).png

 

Go to Content Modifier : Rewrite Policies

 
LoginbSlide1 (4).png
 
LoginbSlide1 (6).png

 

Ensure Global Section with Enabled TRUE

 
LoginbSlide1 (7).png
 
LoginbSlide1 (8).png
 
LoginbSlide1 (9).png

 

Go to Rewrite Policies and make it Enable

 
LoginbSlide1 (10).png
 
LoginbSlide1 (11).png

 

 

LoginbSlide1 (12).png

Enter Username inside Pattern

 
LoginbSlide1 (13).png
 
LoginbSlide1 (14).png

Search policy : "BLOCK PARTICULAR USER LOGIN"

LoginbSlide1 (5).png

Go to Access Profiles to Enable

 
LoginbSlide1 (15).png
 
LoginbSlide1 (16).png
 
LoginbSlide1 (17).png
 
LoginbSlide1 (18).png
 


To test

Go to Facebook and Login

Try login to your Facebook account it will show you the below page:

Blocklogin particularuser testing1.jpg

Go to Gmail and Login

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

Blocklogin particularuser testing2.jpg