Discussing the article: "Creating a Trading Administrator Panel in MQL5 (Part IV): Login Security Layer"

 

Check out the new article: Creating a Trading Administrator Panel in MQL5 (Part IV): Login Security Layer.

Imagine a malicious actor infiltrating the Trading Administrator room, gaining access to the computers and the Admin Panel used to communicate valuable insights to millions of traders worldwide. Such an intrusion could lead to disastrous consequences, such as the unauthorized sending of misleading messages or random clicks on buttons that trigger unintended actions. In this discussion, we will explore the security measures in MQL5 and the new security features we have implemented in our Admin Panel to safeguard against these threats. By enhancing our security protocols, we aim to protect our communication channels and maintain the trust of our global trading community. Find more insights in this article discussion.

Our code compiled successfully, and upon launching the application, we observed that the panel's full features remain inaccessible until the correct PIN is entered. This behavior ensures that only authorized users can access the administrative functions. At this stage, we are proud of our progress, yet we recognize that we have not yet reached the limits of our development. We understand that our security measures still need enhancement, as they may be vulnerable to advanced hackers. We know that every step we take is an opportunity to learn more about implementing the MQL5 language, and as we advance in our skills, we can achieve more robust security levels. Below is an image showcasing the launch of the application along with the desired outcome.

Secure Admin Panel

Author: Clemence Benjamin

 

When trying to compile:

'Admin_Panel.mq5' 1

Trade.mqh

Object.mqh

StdLibErr.mqh

OrderInfo.mqh

HistoryOrderInfo.mqh

PositionInfo.mqh

DealInfo.mqh

Dialog.mqh

WndContainer.mqh

Wnd.mqh

Rect.mqh

Defines.mqh

ArrayObj.mqh

Array.mqh

WndClient.mqh

Panel.mqh

WndObj.mqh

ChartObjectsTxtControls.mqh

ChartObject.mqh

Scrolls.mqh

BmpButton.mqh

ChartObjectsBmpControls.mqh

Edit.mqh

Chart.mqh

Button.mqh

Label.mqh

'Up.bmp' as resource "::res\Up.bmp" 1

'ThumbVert.bmp' as resource "::res\ThumbVert.bmp" 1

'Down.bmp' as resource "::res\Down.bmp" 1

'Left.bmp' as resource "::res\Left.bmp" 1

'ThumbHor.bmp' as resource "::res\ThumbHor.bmp" 1

'Right.bmp' as resource "::res\Right.bmp" 1

'Close.bmp' as resource "::res\Close.bmp" 1

'Restore.bmp' as resource "::res\Restore.bmp" 1

'Turn.bmp' as resource "::res\Turn.bmp" 1

possible loss of data due to type conversion from 'long' to 'int' Admin_Panel(4)_.mq5 161 49

'UpdateThemeColors' - undeclared identifier Admin_Panel(4)_.mq5 390 16

'darkTheme' - some operator expected Admin_Panel(4)_.mq5 390 34

'SetTextColor' - undeclared identifier Admin_Panel(4)_.mq5 397 14

'textColor' - some operator expected Admin_Panel(4)_.mq5 397 27

'SetBackgroundColor' - undeclared identifier Admin_Panel(4)_.mq5 398 14

'bgColor' - some operator expected Admin_Panel(4)_.mq5 398 33

'SetBorderColor' - undeclared identifier Admin_Panel(4)_.mq5 399 14

'borderColor' - some operator expected Admin_Panel(4)_.mq5 399 29

'SetTextColor' - undeclared identifier Admin_Panel(4)_.mq5 424 12

'textColor' - some operator expected Admin_Panel(4)_.mq5 424 25

'SetBackgroundColor' - undeclared identifier Admin_Panel(4)_.mq5 425 12

'bgColor' - some operator expected Admin_Panel(4)_.mq5 425 31

'SetBorderColor' - undeclared identifier Admin_Panel(4)_.mq5 426 12

'borderColor' - some operator expected Admin_Panel(4)_.mq5 426 27

14 errors, 1 warnings 15 2


This website uses cookies. Learn more about our Cookies Policy.