Windows 11 will alert you when an app tries to access your microphone or camera

Microsoft announced that it will introduce a new feature in Windows 11 - security auditing to track suspicious

application activity, in particular, when a particular program tries to access the microphone and camera of the computer. Discuss

The feature is currently implemented inOS pre-build on the Dev Channel. In addition to auditing, the feature will display warning messages to the user if applications attempt to gain unauthorized access to the device.

You can enable it in the system settings by selectingthe "Privacy and Security" option, then the "Application Permissions" section. In this section, you can monitor the activity of applications, including attempts to access computer hardware.