How to Block Photo/Video Files Upload & Transfer on WeChat web via ProxySG

book

Article ID: 169300

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

The objective is to allow browsing WeChat web version (URL: https://web.wechat.com) but deny Multimedia Files Upload & Transfer operation.

The file transfer on WeChat website is associated to the domain https://file.web.wechat.com

Resolution

Assume in the web access layer, there is an ALLOW rule that allow access to any destination, apply following Content Policy Language (CPL) script to deny specific URL domains used for file transfer/upload.

;; Description:

define condition __CondList1wechat
url.domain="file.web.wechat.com"
end condition __CondList1wechat


define condition wechat
condition=__CondList1wechat
end condition wechat


<Proxy>
condition=wechat DENY ;;Block files transfer in WeChat web