allow dll imports

 

Can someone outline the dangers of allowing dll imports ?

 
muplayer2000:

Can someone outline the dangers of allowing dll imports ?

If you download your indies/EAs from a reputable source, you should have no problem. Indeed, some advanced functionality is simply not possible to write in native MQL and can only be accomplished with external libraries (DLLs).

But what are the ultimate dangers? Well, think of a DLL as an executable file (exe). What can an exe do? Pretty much anything it wants! Remember the old dos command "DEL *.*"? ;-)

You'll also notice that all prdocuts in the MQL5 market place are not allowed to load external DLLs.

Hope that answers it for you.

Cheers
 
Stuart Browne:
If you download your indies/EAs from a reputable source, you should have no problem. Indeed, some advanced functionality is simply not possible to write in native MQL and can only be accomplished with external libraries (DLLs).

But what are the ultimate dangers? Well, think of a DLL as an executable file (exe). What can an exe do? Pretty much anything it wants! Remember the old dos command "DEL *.*"? ;-)

You'll also notice that all prdocuts in the MQL5 market place are not allowed to load external DLLs.

Hope that answers it for you.

Cheers

 Thanx for the prompt reply

Will running an Antivirus prevent such security issue?  

If running the EA from a virtual machine separated from the main system wll be safer? 

 
Teeva Franssen:

 Thanx for the prompt reply

Will running an Antivirus prevent such security issue?  

If running the EA from a virtual machine separated from the main system wll be safer? 

No, Antivirus will not help if you use untrusted EA.
Command like delete all the content of drive C:/ is not a virus for example.