I haven't tested this myself but you could try the following :
If I'm not mistaken for corporate Gmail access, the usernames have the customer domain name (eg. firstname.lastname@example.org).
Personal Gmail accounts have usual usernames (eg. email@example.com)
To block personal gmail access, enable ssl-decryption. Next, create a data pattern matching "@gmail.com".
Match this Data pattern on gmail-base app in a Data filtering object.
Apply the Data Filtering object to a policy.
This way you should be able to access corporate gmail accounts and personal gmail access should be blocked.
One caveat I think exists here :
Matching for the regex "@gmail\.com" in the whole page content might also have unwanted matches such as :
-Sending an email to firstname.lastname@example.org from the corporate account
-Reading an email from email@example.com on the corporate account
I would think along those lines ... other tips are welcome ^_^
Thanks for the idea, Kiwi.
Trying to test/implement it, but I think the problem is that there is no option to add ssl or google-base as application in Data filtering profile(whys is that?). Authentication form for gmail is done through accounts.google.com and its not detected as gmail-base application. Will continue testing. If anyone else have any ideas feel free to wite them here.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!