Advances in new technologies The use of electronic communications control in the detection of national crimes, a transgression that violates the internal and external security of countries, including Human trafficking, drugs, terrorism, money laundering, assassination and extortion, piracy, and serial killings have become inevitable. Electronic communication is done in a variety of ways; Including communications via computer networks, smartphones, virtual networks. In line with various legal systems and international instruments, One of the most important methods and tricks of studying crime evidence, especially organized crime, is violent and effective in society, such as murder, kidnapping, rape and the purpose of controlling electronic communications. This control is considered a kind of invasion of private privacy by individuals and is usually considered a crime. In order for the actions of law enforcement agencies to be exempt from crime, the legal systems of different countries have adopted special conditions that, while fully respecting the privacy of individuals, allow the control of any electronic communications and allow the use of electronic communications content. The most important special conditions for controlling electronic communications in European countries are the requirements such as national security; National Defense; Public safety; Preventing, searching, detecting and prosecuting criminal acts with an emphasis on organized crime and terrorism and disrupting public order and security; But court oversight is essential. In short, Iran and the United States have had a similar approach to electronic communications control until the passage of the US Patriotic Law Act, which came into force after 9/11 under the pretext of providing security and counterterrorism.