Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Use Prepared Statements: To prevent SQL injection, use prepared statements. A prepared statement is a prepared statement is a precompiled SQL Query that can help prevent SQL injection attacks by ensuring that user input is treated as data, not executable code
Use the SQL escape parameter in Hash Variables: If the query is a hash variable, use the ?sql
escape parameter, which ensures the query is handled safely, and the data is processed properly by the server.
For example, in List Builder > Data Store > Database SQL Query
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
SELECT * FROM dir_user WHERE username = '#requestParam.user?sql#' |
...
References:
...
Configure your app and server to use HTTPS, ensuring that data transmitted between the client’s browser and your server is encrypted and secure.
References:
Keeping your Joget platform up to date is critical for maintaining a secure environment. Joget regularly releases updates to address security vulnerabilities and provide performance improvements. Ensure that you stay up to date with the latest releases and security patches.
References:
Regular data backups are essential for disaster recovery. In the event of a security breach, having a recent backup ensures that you can restore your app’s data to a secure state.
References:
Implement logging and monitoring mechanisms to track access to sensitive areas of your app. Audit trails allow you to track changes made to forms, processes, and user data, helping to detect any unusual or unauthorized activity.
...
Designing and building a secure app using the Joget involves understanding and addressing security concerns both at the front end and at the back end. By implementing proper permissions for UI elements, protecting forms, preventing SQL injection, and securing data with encryption, you can safeguard your app and its data. Regular updates and proactive monitoring will help keep your app secure against evolving threats, ensuring a robust, safe, and trustworthy experience for all users.