各种系统中禁用Flash P2P上传的配置方法

Mac OS:
    复制代码
    代码如下:
    sudo bash -c 'echo RTMFPP2PDisable=1 >> /Library/Application\ Support/Macromedia/mms.cfg'
    Windows:
    复制代码
    代码如下:
    echo RTMFPP2PDisable=1 >> %windir%\system32\Macromed\Flash\mms.cfg
    echo RTMFPP2PDisable=1 >> %windir%\syswow64\Macromed\Flash\mms.cfg
    echo RTMFPP2PDisable=1 >> %windir%\system32\mms.cfg
    Linux:
    复制代码
    代码如下:
    sudo mkdir -p /etc/adobe
    sudo cat "RTMFPP2PDisable=1" > /etc/adobe/mms.cfg
    Chrome:
    复制代码
    代码如下:
    mkdir "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System"
    echo RTMFPP2PDisable=1 >> "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System\mms.cfg"