Mac关闭摄像头
為了防止黑客入侵,我們可以手動(dòng)執(zhí)行命令,關(guān)掉攝像頭設(shè)備的訪問(wèn)權(quán)限,讓黑客去看黑夜吧。
Mac關(guān)閉禁用攝像頭的方法,打開(kāi)終端,拷貝如下代碼,回車,輸入管理員密碼,再次拷貝,回車。
sudo chmod a-r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDCsudo chmod a-r /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions/A/Resources/AVC.plugin/Contents/MacOS/AVCsudo chmod a-r /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBVDCDigitizersudo chmod a-r /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/MacOS/AppleCamerasudo chmod a-r /Library/CoreMediaIO/Plug-Ins/FCP-DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera打開(kāi)攝像頭方法
sudo chmod a+r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDCsudo chmod a+r /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions/A/Resources/AVC.plugin/Contents/MacOS/AVCsudo chmod a+r /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBVDCDigitizersudo chmod a+r /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/MacOS/AppleCamerasudo chmod a+r /Library/CoreMediaIO/Plug-Ins/FCP-DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera檢驗(yàn)方法,使用Mac自帶應(yīng)用 Photo Booth 或者QQ視頻來(lái)校驗(yàn)是否生效。
總結(jié)
- 上一篇: 第十期 华为拓扑-OSPF配置
- 下一篇: java String format占位