In some cases, using a hidden camera to record sexual harassment in the office can be legal and helpful for providing evidence in legal proceedings. However, it is important to consider the potential consequences of using a hidden camera in such situations. For instance, if the camera captures footage of other employees who are not involved in the harassment, their privacy rights may be violated. Additionally, depending on the laws in your jurisdiction, recording audio without the consent of all parties involved may be illegal.
Furthermore, it is recommended to first report the harassment to the appropriate authorities in the workplace, such as HR or management, and follow the proper procedures to address the issue. In many cases, the use of a hidden camera may not be necessary if proper procedures are followed, and there may be other ways to gather evidence of the harassment. If you do decide to use a hidden camera, it is important to consult with a legal professional to ensure that you are following all applicable laws and regulations.