Database username and password leak

Hi everyone,

I'm concerned about this situation:

I created a mini-application just to perform database maintenance,
and due to my mistake, I closed the connection path.

To my surprise, the error message leaked the entire database path, username, and password.

How can I handle this type of error so that the application displays a consistent message to the user?

And how can I prevent this type of data leak?

Have you got Debug Mode enabled on your Target? Simply turn it off and you'll receive the message to 'enable debug to see errors', or words to that effect...

2 Likes

you caught
I will deactivate
And what is the best way to handle this error?
and show a decent message to the user?

You have direct access to XHR to handle response on your Actions within a page which you can customise as required (could show a toast or notification etc). Click an Action you want to create a response for and then click on Dynamic Events and XHR. From here you can attach specific Actions to trigger using any of the App Connect functions within the page, such as run a Flow etc. The choice is yours from there on out Damacio.

1 Like