<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by BlackLowCode on Medium]]></title>
        <description><![CDATA[Stories by BlackLowCode on Medium]]></description>
        <link>https://medium.com/@lmslamir?source=rss-81c1adf1b5d9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hSY-EAsJ3gOYc7v5fLCODg.png</url>
            <title>Stories by BlackLowCode on Medium</title>
            <link>https://medium.com/@lmslamir?source=rss-81c1adf1b5d9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:00:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lmslamir/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Day 15 — How I Got Ready to Smash the OutSystems Security Specialist O11 Exam ]]></title>
            <link>https://medium.com/@lmslamir/day-15-how-i-got-ready-to-smash-the-outsystems-security-specialist-o11-exam-2dea696ad299?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2dea696ad299</guid>
            <category><![CDATA[security-specialization]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[low-code]]></category>
            <category><![CDATA[low-code-development]]></category>
            <category><![CDATA[o-11]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Thu, 24 Apr 2025 14:57:21 GMT</pubDate>
            <atom:updated>2025-04-24T15:23:18.606Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Security Specialization Report" src="https://cdn-images-1.medium.com/max/777/1*Nx93SrPGv5YW0oF-1Ahw6A.png" /></figure><h3>Day 15 — How I Got Ready to Smash the OutSystems Security Specialist O11 Exam 🚀</h3><p><strong>For the past two weeks, I’ve been sharing my study notes and experiences about OutSystems security exam.</strong></p><p>Today marks the end of this journey — and I’m excited to share that the <strong>official OutSystems exam detail sheet</strong> was my most valuable resource. With dedication and structure, it truly is enough to get certified.</p><h3>🧠 So… What’s This Exam All About?</h3><p>The Security Specialist O11 exam is like a fitness test for your brain — but make it cybersecurity. It covers all the fundamentals you need to know in the world of OutSystems secure development:</p><ul><li>Reactive web app security (check ✅)</li><li>Authentication and access control (double-check ✅✅)</li><li>Secure connections and handling sensitive data (yes, encryption IS your best friend )</li><li>OWASP Top 10 villains and how to defeat them (bring garlic, just in case)</li><li>Plus, how OutSystems helps you stay secure out of the box 🛡</li></ul><h3>🗓️ Step One: Pick a Date. Like, Seriously.</h3><p>We’ve all said, <em>“I’ll book it soon…”</em> and three months later we’re still procrastinating like pros. Here’s the truth: <strong>Set your exam date</strong>. It’s real, it’s happening, and it’ll push you to stay on track.</p><h3>⏰ Step Two: Plan Your Study Time Like a Boss</h3><p>Studying for a certification isn’t about cramming everything into one all-nighter powered by anxiety and caffeine. Give yourself time, make a schedule, and stick to it.</p><p>Break the exam topics into chunks. Plan your week. Block time on your calendar like you would for an important meeting. <strong>Because becoming a Security Specialist <em>is</em> an important meeting — with your future self.</strong></p><p>💡 Pro tip:</p><ul><li>Use your last day to review the most important docs</li><li>And dedicate the day before the exam <em>only</em> to practice questions. (Yes, it works. Trust me.)</li></ul><figure><img alt="Security Specialist badge" src="https://cdn-images-1.medium.com/max/797/1*xFYKHWCUNefGvyPzfFl2Pw.png" /></figure><h3>🔐 What You Should Definitely Know:</h3><p>If you’re about to dive into Security Specialist O11, here’s your must-know list:</p><ol><li><strong>Access Control</strong>: Who can do what? Define it. Control it. Lock it down.</li></ol><ul><li><a href="https://medium.com/@lmslamir/day-1-controle-de-acesso-nas-solu%C3%A7%C3%B5es-da-outsystems-742ddf3f8c1c">DAY 1: Access Control in OutSystems Solutions</a></li></ul><p><strong>2. Sensitive Data</strong>: Don’t let unauthorized users touch it. Or see it. Or dream about it.</p><ul><li><a href="https://medium.com/@lmslamir/day-2-handling-sensitive-data-4f991e54777d">Day 2 : Handling Sensitive Data</a></li></ul><p><strong>3. Authentication</strong>: Understand end-user auth flows, external providers, and logic design.</p><ul><li><a href="https://systemweakness.com/day-3-end-user-authentication-in-outsystems-part-i-71c9ff288bf3">Day 3: End-User Authentication in OutSystems — Part I</a></li><li><a href="https://medium.com/@lmslamir/day-4-end-user-authentication-in-outsystems-part-ii-32060c64e4d3">Day 4: End-User Authentication in OutSystems — Part II</a></li><li><a href="https://medium.com/@lmslamir/day-5-end-user-authentication-in-outsystems-part-iii-5038244218e2">Day 5: End-User Authentication in OutSystems — Part III</a></li></ul><p><strong>4. OWASP &amp; OutSystems Practices</strong>: Know your vulnerabilities and how to squash them.</p><ul><li><a href="https://medium.com/@lmslamir/day-6-protecting-your-application-against-common-vulnerabilities-5f2262588b18">Day 6: Protecting Your Application Against Common Vulnerabilities</a></li><li><a href="https://medium.com/@lmslamir/day-7-securing-applications-with-outsystems-built-in-security-features-3715584b2086">Day 7: Securing Applications with OutSystems’ Built-in Security Features</a></li><li><a href="https://medium.com/@lmslamir/day-10-security-misconfigurations-logging-a374503f3305">Day 10 — Security Misconfigurations &amp; Logging</a></li></ul><p><strong>5. Password Recovery</strong>: Make it secure, not sketchy.</p><ul><li><a href="https://medium.com/@lmslamir/day-12-implementing-password-recovery-in-outsystems-without-losing-your-sanity-0962bcd513e3">Day 12: Implementing Password Recovery in OutSystems (Without Losing Your Sanity)</a></li></ul><p><strong>6. External Secure Connections</strong>: HTTPS /HSTS, SSL/TSL...</p><ul><li><a href="https://medium.com/@lmslamir/day-9-extending-module-functionality-using-external-system-components-175b88fa8cbd">Day 9: Extending Module Functionality Using External System Components</a></li><li><a href="https://medium.com/@lmslamir/day-11-establishing-secure-connections-in-outsystems-part-i-f9bc5eac4b15">Day 11: Establishing Secure Connections in OutSystems</a></li></ul><p><strong>7. Security Fundamentals</strong>: Because without a foundation, everything else crumbles.</p><ul><li><a href="https://medium.com/@lmslamir/day-8-hipaa-compliance-uilding-apps-that-dont-get-you-fined-09c8c9b6d38b">Day 8: HIPAA Compliance — Building Apps That Don’t Get You Fined</a></li><li><a href="https://systemweakness.com/day-13-security-fundamentals-5dfdb76a4538">Day 13: Security Fundamentals</a></li><li><a href="https://systemweakness.com/day-14-attacks-why-security-threats-are-so-dangerous-6ccf3358a2ec">Day 14: Attacks — Why Security Threats Are So Dangerous</a></li></ul><h3>🔍 The Magic Sheet</h3><p>OutSystems provides a <strong>details sheet</strong> with everything you need to study. Seriously. If you focus on that, you’re halfway there. Stick to it and sprinkle in your own notes, and you’re ready to roll.</p><h3>🎉 Final Words</h3><p>If you’re dreaming of that certification badge, go get it. Study smart, stay focused, and know that <em>you got this</em>. 💪 Whether you’re doing it for your career, your team, or just because you love a good challenge — <strong>good luck, future Security Specialist!</strong></p><p>And hey, if this helped, share it with a fellow low-code warrior. We rise by lifting others. ✊</p><p><strong>#BlackLowCode #OutSystemsSecurity #CertifiedAndProud</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2dea696ad299" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 14: Attacks — Why Security Threats Are So Dangerous]]></title>
            <link>https://systemweakness.com/day-14-attacks-why-security-threats-are-so-dangerous-6ccf3358a2ec?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ccf3358a2ec</guid>
            <category><![CDATA[security-vulnerabilities]]></category>
            <category><![CDATA[app-securite-features]]></category>
            <category><![CDATA[low-code-development]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[cyber-attacks-threats]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Wed, 23 Apr 2025 16:38:20 GMT</pubDate>
            <atom:updated>2025-04-24T10:56:03.616Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 14: Attacks — Why Security Threats Are So Dangerous</h3><p><strong>In today’s digital world, ensuring the security of your websites, applications, and APIs is more important than ever.</strong></p><p>As part of a continuous approach to cybersecurity, this article explores common security threats posed by malicious users impersonating legitimate ones. We will also highlight some built-in <strong>OutSystems security features</strong> that can help strengthen your application’s security posture.</p><h3>🚨 Why Security Threats Matter</h3><p>Cyberattacks are becoming more frequent and sophisticated. Attackers can impersonate users to carry out malicious actions, potentially exposing sensitive data and causing serious consequences for both businesses and individuals. Failing to mitigate these risks can lead to:</p><ul><li>Unauthorized data access</li><li>Financial loss</li><li>Compromised systems</li><li>Damaged reputation</li></ul><p>Understanding and defending against these threats is crucial.</p><h3>🛡️ Common Web Security Threats</h3><p>Here are some of the most prevalent types of cyberattacks:</p><h3>1. Phishing</h3><p>A technique where attackers send fraudulent emails, text message, or social media messages to trick users into revealing sensitive information. When successful, phishing can lead to unauthorized access to corporate data, account credentials, and personal information.</p><h3>2. SQL Injection</h3><p>Attackers exploit vulnerabilities in an application’s input fields by inserting malicious SQL queries. This can allow them to modify or retrieve data from the database without proper authorization.</p><h3>3. Cross-Site Scripting (XSS)</h3><p>A vulnerability that allows attackers to inject malicious scripts into trusted websites, potentially gaining unauthorized access to user data or sessions.</p><h3>4. Cross-Site Request Forgery (CSRF)</h3><p>In this attack, a user is tricked into performing unwanted actions on a web application where they are authenticated, such as changing account details or submitting forms.</p><h3>5. File Inclusion</h3><p>This attack involves including unauthorized files on a web server via browser input, which can lead to remote code execution or data leakage.</p><h3>6. Brute Force Attacks</h3><p>Attackers systematically attempt to guess user credentials:</p><ul><li><strong>User-level</strong>: One user account is targeted from a specific IP.</li><li><strong>IP-level</strong>: Multiple accounts are targeted from a single IP, which could also result in a <strong>Denial-of-Service (DoS)</strong> attack.</li></ul><h3>7. Man-in-the-Middle (MITM)</h3><p>An attacker intercepts communication between two parties, potentially impersonating a legitimate user to hijack sessions or steal data.</p><h3>8. Zero-Day Vulnerability</h3><p>An unknown and unpatched flaw in software or hardware that attackers exploit before developers have a chance to fix it.</p><h3>🔁Secure Development Practices</h3><h3>1. Software Development Life Cycle (SDLC)</h3><p>To prevent security vulnerabilities, security measures must be integrated into each stage of the development lifecycle — from initial design to deployment and maintenance.</p><h3>2. Application Security Features</h3><p>Incorporating these features is vital:</p><ul><li><strong>Authentication &amp; Authorization</strong></li><li><strong>Encryption</strong></li><li><strong>Logging &amp; Monitoring</strong></li><li><strong>Security Testing</strong></li></ul><p>We recommend exploring each of these in-depth in our related articles<a href="https://medium.com/@lmslamir/day-6-protecting-your-application-against-common-vulnerabilities-5f2262588b18"> Day 6: Protecting Your Application Against Common Vulnerabilities</a> .</p><h3>🔍 Client-Side vs Server-Side Security</h3><h3>1. Client-Side Security</h3><ul><li>Protects users on the frontend.</li><li>Vulnerable due to code visibility and modifiability.</li></ul><h3>2. Server-Side Security</h3><ul><li>Secures sensitive data and backend systems.</li><li>Ensures data integrity and proper validation for every request, regardless of client-side logic.</li></ul><h3>📚 Best Practices &amp; Resources</h3><p>To safeguard your applications:</p><ul><li>Follow the <strong>OWASP</strong> (Open Web Application Security Project) guidelines.</li><li>Stay proactive, as attackers continue to evolve with more advanced techniques like identity theft, ransomware, and malicious code injection.</li></ul><p>For a deeper understanding, refer to the official documentation provided by <strong>OutSystems</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ccf3358a2ec" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/day-14-attacks-why-security-threats-are-so-dangerous-6ccf3358a2ec">Day 14: Attacks — Why Security Threats Are So Dangerous</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 13: Security Fundamentals]]></title>
            <link>https://systemweakness.com/day-13-security-fundamentals-5dfdb76a4538?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5dfdb76a4538</guid>
            <category><![CDATA[protecting-information]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[cia-triad]]></category>
            <category><![CDATA[osi-model]]></category>
            <category><![CDATA[securityfundamental]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Tue, 22 Apr 2025 15:17:51 GMT</pubDate>
            <atom:updated>2025-04-24T10:56:06.017Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Understanding Core Concepts for Secure Development in OutSystems</strong></p><p>When discussing the domain of cybersecurity, fundamental concepts are typically addressed first. However, in this security-focused article series, we intentionally revisited these core principles at a later stage. Our goal is to approach these topics with a solid foundation of security knowledge already in place, thereby deepening our comprehension and contextual understanding.</p><p>If this is your first time encountering this series, welcome. While most of our fifteen-part series on OutSystems security builds sequentially, this article stands out as one of the few that can be explored independently of the others — making it an excellent starting point regardless of your journey.</p><p>Now that we’ve explored the significance of secure development practices within OutSystems applications, it’s time to elevate our understanding. This article brings documentation-driven insights into the picture, focusing on the underlying mechanisms and configurations that strengthen platform security.</p><h3>🔐 The CIA Security Model</h3><p>The <strong>CIA Triad</strong> — <strong>Confidentiality</strong>, <strong>Integrity</strong>, and <strong>Availability</strong> — is a well-established model representing the foundational pillars of information security within any organization. These principles are essential in shaping the policies and controls that protect sensitive digital assets.</p><h4>Confidentiality</h4><p>Ensures that data is only accessible to authorized individuals. This principle can be enforced through best practices such as:</p><ul><li>Strong authentication (e.g., complex passwords, multi-factor authentication)</li><li>Use of digital certificates</li><li>Access controls that limit visibility of sensitive data to only those who need it</li></ul><h4>Integrity</h4><p>Maintains the accuracy and trustworthiness of data by preventing unauthorized modifications. This is often supported through:</p><ul><li>Regular backups and redundancy</li><li>Audit trails and logs</li><li>Change tracking to reverse unintended alterations</li></ul><h4>Availability</h4><p>Guarantees that systems and data are accessible to authorized users when needed. This is achieved by:</p><ul><li>Designing High Availability (HA) system architectures</li><li>Implementing failover mechanisms</li><li>Minimizing single points of failure</li></ul><p>In addition to the CIA model, two complementary concepts are often referenced:</p><ul><li><strong>Authenticity</strong> — Assurance that communications and data originate from a verified source.</li><li><strong>Non-Repudiation</strong> — Prevents parties from denying their involvement in a transaction or communication.</li></ul><h3>🖧 The OSI Model: A Framework for Network Communication</h3><p>The <strong>Open Systems Interconnection (OSI) model</strong> is a conceptual framework used to understand and standardize the functions of a communication system. It outlines responsibilities across seven layers, categorized as follows:</p><p><strong>Host Layers:</strong></p><ol><li><strong>Application</strong> — Provides network services to end-user applications.</li><li><strong>Presentation</strong> — Translates data formats between the application and the network.</li><li><strong>Session</strong> — Manages communication sessions and port connections.</li><li><strong>Transport</strong> — Handles reliable data transmission.</li></ol><p><strong>Media Layers:</strong></p><p>5. <strong>Network</strong> — Determines routing and addressing across multiple nodes.</p><p>6. <strong>Data Link</strong> — Ensures proper data formatting for transmission between two physically connected devices.</p><p>7. <strong>Physical</strong> — Transmits raw bit streams over a physical medium.</p><p>This shared responsibility model is foundational in understanding how systems communicate and where security measures must be applied.</p><h3>📜 Security Certifications and Compliance</h3><p>Security certifications are becoming increasingly significant in both technical and organizational contexts. Achieving these certifications demonstrates an organization’s ability to maintain secure systems in alignment with industry standards.</p><p><strong>Compliance</strong>, meanwhile, refers to the practices and tools used to ensure adherence to internal policies and external regulations. It plays a critical role in protecting the integrity and legality of business operations.</p><h3>⚙️ Content Security Policy (CSP): Preventing Web-Based Attacks</h3><p><strong>Content Security Policy (CSP)</strong> is a browser security mechanism that helps mitigate threats such as cross-site scripting (XSS) by specifying trusted sources for content loading.</p><p>To enable CSP in OutSystems:</p><ul><li>Navigate to <strong>LifeTime &gt; Infrastructure &gt; Security Settings (Environment Security)</strong> to enable CSP for development environments.</li><li>In <strong>Service Center</strong>, go to <strong>Administration &gt; Security</strong>, and enable CSP (note that republishing the application is required).</li></ul><p><strong>Common CSP Directives:</strong></p><ul><li>base-uri – Defines permissible base URLs for application screens.</li><li>child-src – Specifies domains allowed for embedding content in frames.</li><li>connect-src – Lists domains from which the application can load data via script interfaces.</li></ul><p><strong>Monitoring CSP Configuration:</strong> Go to <strong>Service Center &gt; Monitoring &gt; Errors</strong>, and filter by the <strong>CSPReport</strong> source to view violations and blocked resources.</p><p><strong>Key Misconfiguration Risks:</strong></p><ul><li><strong>Missing policies</strong> — Can inadvertently block legitimate resources such as CSS or multimedia.</li><li><strong>Overly permissive policies</strong> — Using wildcards like * opens the application to unnecessary risks.</li><li><strong>Duplicate configurations</strong> — On self-managed environments, CSP should be managed exclusively in LifeTime to avoid conflicts.</li></ul><h4>⚠️ Avoiding Risky Directives:</h4><ul><li>unsafe-eval: Enables evaluation of code from strings, increasing XSS exposure.</li><li>unsafe-inline: Allows inline scripts and styles, presenting a significant attack surface.</li></ul><p>Both should be disabled by using the <strong>Factory Configuration Forge component</strong>.</p><h3>🧩 Platform Server Configuration and Authentication Methods</h3><p>To establish secure access, OutSystems requires the initialization of administrator users for all tenants — including IT users (via LifeTime) and application end-users (via the Users app).</p><p>OutSystems also supports external authentication methods:</p><ul><li><strong>Single Sign-On (SSO)</strong> — Enables seamless access across applications post-authentication (requires cookies).</li><li><strong>CAPTCHA</strong> — Prevents automated bots and spam attacks (available via Forge components).</li><li><strong>Multi-Factor Authentication (MFA)</strong> — Incorporates multiple verification methods, such as:</li><li>Knowledge (passwords)</li><li>Possession (OTP, smartcards)</li><li>Inherence (biometrics)</li><li>Location-based verification</li><li>Time-based verification</li></ul><p>Forge components such as <strong>Google Authenticator</strong> and <strong>Touch ID Plugin</strong> support MFA, although they are not officially supported by OutSystems.</p><h3>🛡️ OutSystems CSIRT</h3><p>The <strong>OutSystems Computer Security Incident Response Team (CSIRT)</strong> operates as a specialized unit within the Information Security Office. The team offers proactive monitoring and investigation services to detect and respond to cybersecurity threats targeting OutSystems infrastructure.</p><h3>📚 Conclusion</h3><p>Security is not a single step but a continuous, evolving process. As part of your journey to becoming a certified OutSystems Security Specialist, understanding and applying these core principles — Confidentiality, Integrity, Availability, compliance strategies, secure configurations, and authentication mechanisms — is paramount.</p><p>By adhering to these best practices, developers and administrators can significantly enhance the resilience and trustworthiness of their applications and systems.</p><p>For more information, refer to the official OutSystems Documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5dfdb76a4538" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/day-13-security-fundamentals-5dfdb76a4538">Day 13: Security Fundamentals</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 12: Implementing Password Recovery in OutSystems (Without Losing Your Sanity)]]></title>
            <link>https://medium.com/@lmslamir/day-12-implementing-password-recovery-in-outsystems-without-losing-your-sanity-0962bcd513e3?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/0962bcd513e3</guid>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[owasp-best-practices]]></category>
            <category><![CDATA[password-recovery]]></category>
            <category><![CDATA[brute-force-protection]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Tue, 22 Apr 2025 11:50:13 GMT</pubDate>
            <atom:updated>2025-04-22T11:50:13.814Z</atom:updated>
            <content:encoded><![CDATA[<p>Password recovery is a critical functionality in any secure application. While often overlooked, it plays a vital role in user experience and system security. Given that nearly every user will, at some point, forget their credentials, it is essential that we implement this flow correctly — balancing usability with robust security practices.</p><p>This article outlines key considerations and best practices for implementing a password recovery feature within the OutSystems platform, drawing from both practical experience and established OWASP guidelines.</p><h3>🔐 Fundamental Principles for Secure Password Recovery</h3><ol><li><strong>Avoid automatic login post-password reset</strong><br> Although it may seem convenient, logging users in automatically after a password reset introduces unnecessary risk. Always require the user to authenticate manually after completing the reset process.</li><li><strong>Always send a confirmation email</strong><br> Notify users via email once their password has been successfully reset. This serves both as reassurance and as a security checkpoint in case the request was unauthorized.</li><li><strong>Consider whether to notify when an account is not found</strong><br> While controversial, some systems choose to inform users if the submitted email does not correspond to an existing account. This can improve UX but may expose the system to account enumeration risks.</li></ol><h3>📚 Incorporating OWASP Best Practices</h3><ol><li><strong>Do not disclose account existence</strong><br> To prevent enumeration attacks, systems should respond identically whether or not an email address exists in the database. Never explicitly confirm if an account is associated with a given email.</li><li><strong>Implement protection against brute-force and spam attacks</strong><br> Set rate limits on how frequently recovery tokens can be requested per email and per IP address to reduce abuse potential.</li><li><strong>Token security essentials</strong></li></ol><ul><li>Use a cryptographically secure random number generator.</li><li>Invalidate tokens after a single use or expiration time.</li><li>Store tokens in a hashed format to prevent reverse engineering.</li></ul><h3>🔧 Step-by-Step: Building the Recovery Flow in OutSystems</h3><ol><li><strong>Email Format Validation</strong><br> Utilize OutSystems’ built-in validators to ensure the email address format is correct.</li><li><strong>Domain Validation</strong><br> Verify that the domain portion of the email is acceptable for your application context.</li><li><strong>Module Validation</strong><br> Confirm that the relevant module exists within the platform.</li><li><strong>Retrieve User by Email</strong><br> Use the UserID_GetBy_Email action to locate the user in the database. If no user is found, decide whether to proceed or terminate the flow silently.</li><li><strong>Generate Secure Token</strong><br> Create a unique token using a cryptographic generator. This token should be strong and unpredictable.</li><li><strong>Hash the Token</strong><br> Store the token hash in the database. This ensures it cannot be reversed, protecting the integrity of the recovery process.</li><li><strong>Check for Maximum Requests</strong><br> Prevent abuse by limiting how many recovery tokens can be requested per user/email in a given timeframe.</li><li><strong>Issue or Replace Token</strong><br> If it’s the user’s first request, create a new token. Otherwise, invalidate the previous one before proceeding.</li><li><strong>Assign and Return URL</strong><br> Only generate and return the password reset URL if a valid user was found.</li></ol><h3>🔄 Password Reset Workflow</h3><p>Once the user clicks the recovery link and is redirected to the reset interface, follow these steps:</p><ol><li><strong>Validate the New Password</strong><br> Ensure it meets the complexity requirements defined by your system.</li><li><strong>Retrieve User by Token</strong><br> Confirm the token is valid and corresponds to a user record.</li><li><strong>Encrypt the Password</strong><br> Use the OutSystems EncryptPassword function, which applies a secure hashing algorithm, to prepare the password for storage.</li><li><strong>Update the User Record</strong><br> Save the new encrypted password to the database using the Update_User function.</li><li><strong>Delete the Used Token</strong><br> Immediately invalidate and remove the token after a successful password update to prevent reuse.</li></ol><h3>🛡️ Brute Force and Spam Protection</h3><p>To strengthen your recovery flow against abuse:</p><ul><li><strong>Per-Email Request Limit</strong><br> Define a maximum number of requests per email within a set timeframe. Once exceeded, temporarily block further requests.</li><li><strong>Per-IP Request Limit</strong><br> Track how many requests originate from each IP address. If an IP exceeds the limit, trigger a temporary block and log the event for analysis.</li></ul><h3>📝 Final Recap: Password Recovery Lifecycle</h3><ol><li>The user selects <strong>“Forgot Password”</strong> on the login screen.</li><li>They enter their email address.</li><li>If valid, a tokenized recovery link is sent via email.</li><li>The user clicks the link and is redirected to a secure reset form.</li><li>A new password is entered and confirmed.</li><li>Upon success, the user is notified and may return to the login screen.</li></ol><h3>📌 Conclusion</h3><p>Password recovery is a vital component of any secure application and should be implemented with care. By adhering to best practices — such as using secure tokens, respecting user privacy, and limiting abuse — you can offer a smooth experience for legitimate users while safeguarding your platform against malicious actors.</p><p>For additional guidance and implementation details, consult the <strong>OWASP Password Recovery Cheat Sheet</strong> and <strong>OutSystems official documentation</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0962bcd513e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 11: Establishing Secure Connections in OutSystems — Part I]]></title>
            <link>https://medium.com/@lmslamir/day-11-establishing-secure-connections-in-outsystems-part-i-f9bc5eac4b15?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9bc5eac4b15</guid>
            <category><![CDATA[security-capabilities]]></category>
            <category><![CDATA[secure-connection]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[security-best-practices]]></category>
            <category><![CDATA[outsystems]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Mon, 21 Apr 2025 17:57:36 GMT</pubDate>
            <atom:updated>2025-04-21T18:05:12.725Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 11: Establishing Secure Connections in OutSystems</h3><p>When building modern applications, security must be an integral part of the development lifecycle — not an afterthought. As developers and architects, we must adopt a proactive mindset, embedding security measures from the very first stages of application design. 🧠💡</p><p>In the context of the OutSystems platform, achieving robust application security involves addressing two core objectives:</p><ol><li>✅ Ensuring that applications are developed with security best practices.</li><li>🛡️ Ensuring that those applications operate within a secure runtime environment.</li></ol><p>🚀 OutSystems is built to accelerate development without compromising on security. The platform provides a wide range of built-in protections that guard against the most common vulnerabilities found in web and mobile applications. However, understanding and complementing these protections with sound practices is key to delivering secure, scalable solutions.</p><h3>🔍I. OutSystems Default Security Capabilities</h3><h3>1. Secure Application Code</h3><p>OutSystems automatically generates application code using secure patterns that help protect against common threats such as SQL injection and Cross-Site Scripting (XSS). By default, the platform escapes untrusted data before rendering it in the user interface, applying the appropriate context-based sanitization across HTML, JavaScript, and other output types.</p><h3>2. Secure Session Data</h3><p>Session data is serialized and deserialized securely using a built-in anti-tampering mechanism, backed by salted hashing and strict type verification. This ensures attackers can’t manipulate session data undetected.</p><h3>3. Secure Authentication Mechanisms</h3><p>OutSystems provides encrypted authentication cookies and supports Single Sign-On (SSO), simplifying the user experience without compromising security.</p><h3>4. Role-Based Access Control (RBAC)</h3><p>RBAC ensures users only access functionality appropriate to their role — both at the application level and for IT infrastructure tasks.</p><h3>5. Brute Force Attack Protection</h3><p>The platform has configurable thresholds to block login attempts after multiple failures, protecting user accounts from brute force attempts.</p><h3>6. Enforced HTTPS</h3><p>OutSystems enforces encrypted communication for mobile apps and web interfaces via HTTPS, rejecting any unencrypted requests.</p><h3>7. Application &amp; System Auditing</h3><p>Real-time logging and monitoring tools help you track what’s happening in your applications and infrastructure — ensuring full traceability.</p><h3>8. Continuous Vulnerability Management</h3><p>OutSystems regularly updates and patches potential vulnerabilities using a continuous delivery approach that minimizes impact on operations.</p><h3>🧰II. Additional Security Considerations</h3><p>While OutSystems provides a solid foundation, developers should go further by:</p><ul><li><strong>Defining a detailed permission model</strong> using built-in RBAC features.</li><li><strong>Implementing robust loggin</strong>g for key security-related events.</li><li><strong>Handling errors properly</strong> to avoid leaking sensitive data.</li><li><strong>Securing custom cod</strong>e with the Sanitization API.</li><li><strong>Encrypting sensitive dat</strong>a such as tokens, passwords, and certificates.</li><li><strong>Using SSL pinning</strong> to validate server authenticity in mobile apps.</li><li>️ <strong>Protecting mobile apps</strong> with AppShield for runtime and rest security.</li><li><strong>Following best practice</strong>s via AI Mentor Studio to catch risks early.</li></ul><h3>🧱III. Securing the Runtime Environment</h3><p>Security isn’t just about code — it’s about the environment it runs in:</p><ul><li><strong>Rotate administrator passwords</strong> regularly.</li><li><strong>Choose the right authentication provide</strong>r (AD, LDAP, SAML, etc.).</li><li><strong>Encrypt all data in transi</strong>t using SSL and enable HSTS.</li><li><strong>Secure data at res</strong>t by enabling database encryption.</li><li><strong>Apply Content Security Policies (CSP</strong>) to guard against injection attacks.</li><li><strong>Enable secure cookies</strong> and encrypt the view state in web apps.</li><li><strong>Restrict acces</strong>s to the management console using IP rules or internal networks.</li></ul><h3>🔐 IV. Post-Development Security Checks</h3><p>Once development is complete, conduct thorough testing:</p><ul><li><strong>Run SAST</strong> (Static Application Security Testing) on generated code.</li><li><strong>Perform penetration tests</strong> or vulnerability scans to simulate real-world attacks.</li></ul><h3>🕵️<strong> ️Conclusion</strong></h3><p>OutSystems empowers organizations to build fast, but never at the cost of security. By leveraging its out-of-the-box capabilities and combining them with thoughtful best practices, teams can confidently deliver secure, scalable, and maintainable applications. 🚀</p><p>👉 For deeper insights, check out the OWASP Top 10 and OutSystems’ official documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9bc5eac4b15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 10 — Security Misconfigurations & Logging]]></title>
            <link>https://medium.com/@lmslamir/day-10-security-misconfigurations-logging-a374503f3305?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a374503f3305</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[security-misconfiguration]]></category>
            <category><![CDATA[logging]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Mon, 21 Apr 2025 13:11:12 GMT</pubDate>
            <atom:updated>2025-04-21T13:11:12.936Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 10 — Security Misconfigurations &amp; Logging</h3><p>On Day 10 of our security journey, we focus on two critical components of modern application security: <strong>security misconfigurations</strong> and <strong>effective logging practices</strong>. As organizations increasingly transition their services to the digital space, it becomes imperative to minimize their attack surface and proactively defend against potential threats.</p><p>According to a report by <em>Positive Technologies</em>, <strong>1 in 5 applications contains security misconfigurations</strong>, such as missing HttpOnly and Secure flags on sensitive cookies, which can lead to session hijacking. Other common vulnerabilities include <strong>Cross-Site Scripting (XSS)</strong>, broken authentication, and inadequate access controls — many of which are listed in the OWASP Top 10 or more details in<a href="https://medium.com/@lmslamir/day-6-protecting-your-application-against-common-vulnerabilities-5f2262588b18"> Day 6: Protecting Your Application Against Common Vulnerabilities</a>.</p><h3>📌 Understanding Attack Surface vs. Attack Vectors</h3><ul><li><strong>Attack Surface</strong>: The total number of potential entry points where an unauthorized user might attempt to gain access to a system.</li><li><strong>Attack Vector</strong>: The method or pathway an attacker uses to exploit vulnerabilities and gain access.</li></ul><h3>🚨 Common Attack Vectors</h3><ol><li><strong>DDoS (Distributed Denial of Service)</strong> — Overloading an application with excessive traffic to disrupt service availability.</li><li><strong>Password Attacks</strong> — Brute force or dictionary-based methods to guess user credentials.</li><li><strong>Session Hijacking</strong> — Techniques such as IP spoofing to take control of a user session.</li><li><strong>SQL Injection</strong> — Exploiting vulnerable input fields to run unauthorized SQL commands.</li><li><strong>Cross-Site Scripting (XSS)</strong> — Injecting malicious scripts to capture cookies and user data.</li></ol><h3>🧱 Design Phase: Building Secure Applications from the Ground Up</h3><h3>1. Authentication</h3><ul><li>Enforce strong password policies and limit login attempts.</li><li>Integrate with Identity Management Systems (e.g., SSO, OAuth).</li><li>Always use SSL/TLS for encrypted communication.</li><li>Use secure and HttpOnly cookies for session handling.</li></ul><p><strong>Examples</strong>:</p><ul><li>Never send sensitive data in plaintext.</li><li>Enforce HTTPS with HTTP Strict Transport Security (HSTS).</li></ul><h3>2. Authorization</h3><ul><li>Implement fine-grained access control based on roles and responsibilities.</li><li>Avoid UI-only restrictions; enforce rules server-side.</li><li>Use attribute-based access control wherever applicable.</li></ul><p><strong>Best Practices</strong>:</p><ul><li>Do not rely on hiding or disabling UI elements to restrict access.</li><li>Validate access during server-side logic (e.g., action execution or screen preparation).</li><li>Use non-predictable, unique identifiers for resources.</li><li>Tailor UI and content access to user roles with strict permission checks.</li></ul><h3>3. Encryption</h3><ul><li>Encrypt data <strong>at rest</strong>, <strong>in transit</strong>, and <strong>in use</strong>.</li><li>Use strong encryption standards (e.g., AES-128, AES-256, SHA512).</li><li>Implement secure key management practices.</li><li>Be aware of <em>Man-in-the-Middle</em> (MITM) attacks — attackers may target unencrypted traffic rather than the encryption itself.</li></ul><p><strong>Use Cases</strong>:</p><ul><li>Secure communications using HTTPS and SSL/TLS.</li><li>Ensure cookies are transmitted securely.</li><li>Use the OutSystems CryptoAPI and platform hashing mechanisms for sensitive data.</li></ul><h3>🛡️ Preventing CSRF (Cross-Site Request Forgery)</h3><p>CSRF attacks exploit the trust a website has in the user’s browser by performing actions without their consent.</p><p><strong>Mitigation Strategy</strong>:</p><ul><li>Implement anti-CSRF tokens and validate them server-side.</li><li>Avoid using cookies for REST API authentication.</li><li>Do not perform sensitive actions in response to GET requests.</li></ul><h3>🌐 Unvalidated Redirects &amp; Forwards</h3><p>Allowing dynamic URLs from user input without validation opens the door to phishing and redirection attacks.</p><p><strong>Recommendation</strong>:</p><ul><li>Avoid redirecting to external URLs using input parameters.</li><li>If required, validate against a whitelist of allowed URLs.</li></ul><h3>📦 Securing Application Assets</h3><ul><li>Prioritize <strong>enforcement-based security</strong> rather than entitlement-based logic.</li><li>Conduct regular audits of security configurations and application assets.</li><li>Monitor assets proactively for new vulnerabilities.</li></ul><h3>🏃 Runtime Security: Keeping the Guard Up</h3><p>Once the application is live, continuous security operations are vital.</p><h3>1. Data Security</h3><ul><li>Apply industry-standard encryption to protect stored and transmitted data.</li><li>Avoid exposing direct SQL operations in business logic.</li></ul><h3>2. Infrastructure Security</h3><ul><li>Utilize intrusion detection and prevention systems.</li><li>Leverage DDoS mitigation solutions from cloud providers.</li><li>Conduct regular compliance and risk assessments.</li></ul><h3>3. Vulnerability Assessments</h3><ul><li>Perform regular OWASP-based security scans.</li><li>Conduct penetration testing, especially before major releases.</li><li>Review source code and perform static code analysis frequently.</li></ul><h3>4. Security Monitoring</h3><ul><li>Continuously monitor application health and security status.</li><li>Implement a SIEM (Security Information and Event Management) solution for real-time alerts and incident response.</li></ul><h3>📊 Logging &amp; Misconfiguration: The Importance of Visibility</h3><h3>OutSystems Security by Design</h3><p>OutSystems follows secure development best practices by enforcing security defaults while maintaining development agility. Configuration settings are available at both the application and environment levels.</p><h3>Logging Capabilities</h3><ul><li><strong>Service Center</strong> logs all interactions with external systems, custom integrations, and internal service calls.</li><li><strong>Lifetime</strong> offers full governance capabilities, including version control, access management, and auditing across all environments.</li><li><strong>OutSystems Cloud</strong> customers benefit from built-in secure logging and monitoring features, with options for advanced capabilities through <strong>OutSystems Sentry</strong>.</li></ul><p>Logs include:</p><ul><li>Request details (user, method, timestamp, duration)</li><li>Integration and runtime-level events</li><li>Developer-defined custom logs for application-specific needs</li></ul><h3>✅ Final Thoughts</h3><p>Security is not a one-time task but a continuous discipline that should be embedded from <strong>design to deployment</strong>. Misconfigurations and lack of logging are two of the most commonly exploited issues in modern applications.</p><p>By applying the security guidelines and leveraging OutSystems’ built-in capabilities, organizations can dramatically reduce their exposure to threats and strengthen their overall security posture.</p><h3>📚 For Further Reading</h3><p>For detailed implementation guidance, refer to the official OutSystems Security Documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a374503f3305" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 9: Extending Module Functionality Using External System Components]]></title>
            <link>https://medium.com/@lmslamir/day-9-extending-module-functionality-using-external-system-components-175b88fa8cbd?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/175b88fa8cbd</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[external-componentes]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 18:16:57 GMT</pubDate>
            <atom:updated>2025-04-23T16:17:54.977Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nRnpvPn2tnanVqKdM471FQ.png" /></figure><h3>Day 9: Extending Module Functionality Using External System Components</h3><p>As we continue our journey toward OutSystems certification, today’s focus is on a powerful aspect of the platform: <strong>integrating with external systems</strong> to extend the functionality of our applications.</p><p>One of OutSystems’ strengths is its <strong>open-by-design architecture</strong>, which means developers aren’t limited to native features. You can enhance your application at every level — <strong>front-end, back-end, database, and integration</strong> — by connecting to external systems or developing custom components.</p><h3>🔗 Extending with External Systems: Why It Matters</h3><p>To meet real-world enterprise requirements, applications often need to connect with third-party services, external databases, and existing systems of record (SoRs). OutSystems supports seamless integration with popular technologies and systems, including:</p><ul><li><strong>Databases</strong>: SQL Server, Oracle, MySQL, PostgreSQL, IBM DB2</li><li><strong>Enterprise Systems</strong>: SAP, Salesforce, Microsoft Dynamics 365, Dataverse, SharePoint Online</li></ul><p>The platform also provides access to <strong>OutSystems Forge</strong>, a community-driven repository of reusable components and connectors that can be adopted as-is or tailored to specific business needs.</p><h3>🛠️ Integration Studio: For Advanced Customizations</h3><p>For scenarios that require deeper customization, developers can use <strong>Integration Studio</strong> — OutSystems’ environment for creating extensions using C# or .NET.</p><p>These <strong>extensions</strong> are modular packages containing:</p><ul><li>Custom logic</li><li>Actions</li><li>Structures and entities</li><li>Resource files</li></ul><p>You might create an extension to:</p><ul><li>Integrate with a legacy system</li><li>Add a custom .NET component</li><li>Extend the application’s data model with external sources</li></ul><h3>🎨 Front-End Extensibility</h3><p>OutSystems makes it simple to customize the user interface. Developers can adjust screen templates, widgets, and UI patterns using a WYSIWYG (What You See Is What You Get) environment, all without needing to write low-level code. This flexibility ensures a branded and user-friendly experience.</p><h3>⚙️ Back-End Extensibility</h3><p>With <strong>Integration Builder</strong> and built-in tools, developers can connect to external databases and systems in just a few steps. This makes it possible to:</p><ul><li>Combine local and remote data sources</li><li>Synchronize business processes</li><li>Keep data consistent and secure across systems</li></ul><h3>🧩 Integrating with SOAP Web Services</h3><p>OutSystems simplifies SOAP integrations by:</p><ol><li>Connecting to the WSDL endpoint</li><li>Automatically generating service methods, inputs, and outputs</li><li>Creating complex structures and static entities</li><li>Mapping XML data types to OutSystems-native types</li></ol><p>This automation greatly reduces the complexity typically associated with SOAP integrations.</p><h3>🌐 Integrating with REST APIs</h3><p>REST APIs are widely used in modern systems, and OutSystems provides a straightforward process for integration:</p><ol><li>Define the REST API and its methods</li><li>Generate the corresponding input/output parameters</li><li>Map the response/request structures to OutSystems data types</li></ol><p>These integrations are managed through Service Studio, offering a streamlined development experience.</p><h3>✅ Extending Functionality with Confidence</h3><p>OutSystems offers developers the flexibility to go beyond built-in capabilities, allowing for the <strong>seamless integration of external systems and custom components</strong>. Whether you need to pull data from a third-party service, connect to an enterprise database, or build a fully custom .NET module, the platform supports it.</p><p>By mastering external integrations, you’re not just building apps — you’re building solutions that are <strong>scalable, adaptable, and enterprise-ready</strong>.</p><p>Stay tuned for Day 10, where we’ll continue exploring the full power of OutSystems in modern application development.</p><p>Want more details? Dive into the official <strong>OutSystems documentations.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=175b88fa8cbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 8: HIPAA Compliance - uilding Apps That Don’t Get You Fined]]></title>
            <link>https://medium.com/@lmslamir/day-8-hipaa-compliance-uilding-apps-that-dont-get-you-fined-09c8c9b6d38b?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/09c8c9b6d38b</guid>
            <category><![CDATA[hipaa-compliance]]></category>
            <category><![CDATA[hipaa-security-rule]]></category>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[hipaa-privacy-rule]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 16:29:28 GMT</pubDate>
            <atom:updated>2025-04-23T16:41:53.095Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Day 8 HIPAA Compliance — Building Apps That Don’t Get You Fined" src="https://cdn-images-1.medium.com/max/1024/1*gj9EaNiY_aA2PAYDo-RPKQ.png" /></figure><h3>Day 8: HIPAA Compliance - Building Apps That Don’t Get You Fined</h3><p>Today’s adventure in the land of secure app development took us deep into the realm of <strong>HIPAA compliance</strong> — or as I like to call it, “How Not to Get in Trouble While Handling Sensitive Health Data.”</p><p>We’re already over halfway through our journey toward the <strong>OutSystems Security Specialization</strong> exam. 🎯 The best way to prep for it? Obsessively read every detail OutSystems recommends. Seriously. No shortcuts.</p><h3>🏥 What Even Is HIPAA?</h3><p>HIPAA = <strong>Health Insurance Portability and Accountability Act</strong> — sounds fancy, right? Basically, it’s a bunch of rules that keep health info safe. There are two main parts:</p><ul><li><strong>Privacy Rule:</strong> Who can see what.</li><li><strong>Security Rule:</strong> How we protect it (especially electronic stuff = <strong>ePHI</strong>).</li></ul><p>Anyone handling this data is called a <strong>“covered entity”</strong>. If you mess up the rules, you could be in <strong>violation city</strong>. So let’s not do that.</p><h3>🚧 Building HIPAA-Friendly Apps with OutSystems</h3><p>The good news? OutSystems has your back. Their <strong>HIPAA Cloud offering (via OutSystems Sentry)</strong> provides:</p><ul><li>A legit <strong>Business Associate Agreement (BAA)</strong> 📜</li><li>Access to the <strong>Cryptographic Services app</strong> 🔐</li><li>Independent audits that prove they’re not just winging it 🎯</li></ul><h3>🔐 Exploring HIPAA Safeguards (With a Side of Geek Speak)</h3><p>HIPAA controls are labeled with codes like (R)164.312(a)(2)(i). Don’t panic — (R) = required, (A) = addressable. Now let’s break down how to actually implement this stuff in OutSystems.</p><h3>1. Access Control Policies — No Sneaky Clickers Allowed</h3><p>Only let the right folks in, and periodically check who’s doing what.</p><ul><li><strong>IT Users:</strong> Use <strong>LifeTime</strong> to manage who gets access to what.</li><li><strong>End Users:</strong> Manage users/groups, assign roles easily.</li></ul><h3>2. Unique User IDs — No Clone Wars</h3><p>Give everyone their own username (no “admin123” for all).</p><ul><li>LifeTime = Unique IDs for IT users</li><li>For apps, create custom identifiers per user</li></ul><h3>3. Emergency Access Plan — Hit the Panic Button (But Gracefully)</h3><p>Let the system fail over smartly if things go sideways. Example tech:</p><ul><li><strong>SQL Server:</strong> Always-On, Mirroring</li><li><strong>Oracle:</strong> Data Guard, RAC</li></ul><h3>4. Auto Logoff — Couch Nap? You’re Out!</h3><p>Terminate inactive sessions automatically.</p><ul><li>Use session + timeout settings.</li></ul><h3>5. Encrypt Everything — Like, Seriously</h3><p>Use strong encryption for data in transit and at rest.</p><ul><li>Use <strong>Crypto API</strong> from Forge</li><li>OutSystems supports <strong>TDE</strong> and envelope encryption</li></ul><h3>6. Access Termination — Don’t Let Zombies Linger</h3><p>Remove access <em>immediately</em> when people leave or change roles.</p><ul><li>LifeTime lets you deactivate users on the spot</li><li>End user modules can do the same</li></ul><h3>7. Audit Policies — Who Watched What, When, and Why</h3><p>Define and scope your audits. Know what you’re logging and why.</p><h3>8. Audit Process — Log It or Regret It</h3><p>Review those logs. Protect them. Then review again.</p><h3>9. Data Classification — Label Your Secrets</h3><p>Define what’s sensitive and how to protect it. OutSystems aligns with <strong>ISO 27001</strong>, so you’re in good hands.</p><h3>10. Authentication FTW — Passwords Are Just the Start</h3><p>Use multiple ways to verify identity:</p><ul><li>Passwords (🧠)</li><li>Tokens (🪪)</li><li>Biometrics (👆)</li><li>MFA (All of the above)</li></ul><p>Best practice? Plug into your company’s <strong>Identity Provider</strong>.</p><h3>11. Network Security — No Eavesdropping Allowed</h3><p>Use SSL/TLS for all communications.</p><ul><li>OutSystems supports HTTPS enforcement on apps, APIs, and services</li><li>Reactive/Mobile apps = secure by default 🚀</li><li>You can even customize TLS settings on your servers</li></ul><h3>🎉 Wrapping It Up</h3><p>That was a <em>lot</em> of security goodness — but hey, no one said protecting health data was going to be chill. The good news is, OutSystems makes it way easier than rolling your own security stack.</p><p>Want more details? Dive into the official <strong>OutSystems docs</strong> and <strong>HIPAA guidelines</strong> for all the gritty info.</p><p>See you later for more secure, compliant, non-terrifying development wisdom.</p><p><strong>Stay safe, build smart. Bye for now! 👋</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09c8c9b6d38b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 7: Securing Applications with OutSystems’ Built-in Security Features]]></title>
            <link>https://medium.com/@lmslamir/day-7-securing-applications-with-outsystems-built-in-security-features-3715584b2086?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3715584b2086</guid>
            <category><![CDATA[outsystems]]></category>
            <category><![CDATA[security-certifications]]></category>
            <category><![CDATA[cyber-security-attacks]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Wed, 16 Apr 2025 21:30:50 GMT</pubDate>
            <atom:updated>2025-04-23T15:40:42.415Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d0LZXemT7zJR4RE3hjUj4g.png" /></figure><p>In today’s post, we explore how to leverage the security functions provided by the OutSystems platform to protect our applications.</p><p>When we hear terms like <em>code injection</em>, <em>cross-site scripting (XSS)</em>, <em>authentication vulnerabilities</em>, and <em>access control issues</em>, it can be overwhelming to think of how to safeguard our web applications from such threats. As we know, security breaches can result in the loss of user trust, especially when sensitive information is exposed.</p><p>To minimize security risks across the application, network, and infrastructure layers, OutSystems recommends developers follow several best practices designed to mitigate common vulnerabilities.</p><p>Let’s break down these common threats and review how OutSystems helps us avoid them by default.</p><h3>1. Code Injection</h3><p>Code injection occurs when an attacker sends malicious commands through a connection request, often impersonating a legitimate user. This commonly happens through techniques such as SQL Injection or XML Injection, where the attacker tries to manipulate input fields to extract or corrupt data — like retrieving all accounts from an application’s database.</p><p>To prevent this, OutSystems provides built-in functions:</p><ul><li>EncodeHTML() and EncodeJavaScript() help sanitize input by replacing special characters before using them in HTML or JavaScript contexts.</li><li>SanitizeHTML() should also be used to clean HTML content and avoid malicious scripts.</li></ul><p><strong>Tip:</strong> OutSystems offers clear guidelines on how to safely handle dynamic SQL when using the <strong>Expand Inline</strong> feature as a parameter in advanced SQL queries.</p><h3>2. Cross-Site Scripting (XSS)</h3><p>XSS attacks occur when an application renders malicious content in the browser, often targeting session cookies to hijack user sessions.</p><p>To prevent this:</p><ul><li>Use the EncodeURL() function to safely encode all non-alphanumeric characters in user inputs, making them safe to include in URLs.</li><li>Define a <strong>Content Security Policy (CSP)</strong> to restrict the loading of scripts and other content only from trusted domains.</li></ul><h3>3. Authentication Vulnerabilities</h3><p>Let’s clarify two commonly confused terms:</p><ul><li><strong>Authentication</strong> verifies who the user is (e.g., via username/password, SAML, or OAuth2.0).</li><li><strong>Authorization</strong> determines what the user is allowed to do or see based on their role.</li></ul><p>Authentication vulnerabilities occur when systems allow access without properly verifying identity. Attackers can exploit insecure entry points to access systems without credentials.</p><p><strong>Best Practice:</strong> Always enforce HTTPS for all screens and endpoints to ensure secure communication and prevent man-in-the-middle attacks.</p><h3>4. Access Control &amp; Permission Vulnerabilities</h3><p>Access control ensures that only authorized users can view or manipulate certain data or functionality. Misconfigurations here can allow users to perform unauthorized actions.</p><p><strong>OutSystems Best Practices for Access Control:</strong></p><p><strong>Protecting Actions:</strong></p><ul><li>Don’t just disable or hide UI elements — this is not secure by itself.</li><li>Always validate actions on the server side.</li><li>Use role-based pages and ensure actions are accessible only by those roles.</li><li>Use non-predictable identifiers (e.g., GUIDs) instead of easily guessable IDs.</li></ul><p><strong>Protecting Information:</strong></p><ul><li>In screen logic (Preparation), check if the current user is authorized to view or access the data.</li></ul><h3>Additional Security Recommendations for OutSystems Applications</h3><ol><li><strong>Use Encryption:</strong></li></ol><ul><li>Secure sensitive data at rest and in transit using AES-128 or AES-256.</li><li>OutSystems hashes user passwords using a salted SHA-512 algorithm.</li><li>Use the <strong>CryptoAPI</strong> component for custom encryption needs.</li><li>Use a Key Management System for better encryption key handling.</li></ul><p><strong>2. Prevent Cross-Site Request Forgery (CSRF):</strong></p><ul><li>CSRF exploits authenticated sessions to trick users into executing unwanted actions.</li><li><strong>Traditional Web Apps:</strong> Use the osVisitor cookie to validate requests via view state signatures.</li><li><strong>Reactive Web Apps:</strong> Use the X-CSRFToken extracted from the nr2&lt;user&gt; cookie and send it in headers for request validation.</li></ul><p><strong>3. Note:</strong> APIs don’t include CSRF tokens by default. To protect APIs:</p><ul><li>Avoid using cookies in REST APIs.</li><li>Don’t perform actions in GET requests.</li><li>Use unique tokens in POST requests and validate them on the server.</li></ul><p><strong>4. Avoid Open Redirects:</strong></p><ul><li>Don’t use dynamic URLs for redirection unless absolutely necessary.</li><li>If needed, validate destination URLs against a predefined allowlist.</li></ul><h3>Final Thoughts</h3><p>Building a secure application is no easy task — but by following the best practices provided by OutSystems, we can significantly reduce risk and protect our users.</p><p>In the next article, we’ll explore <strong>HIPAA compliance</strong> and how to develop applications that meet both <strong>security and privacy</strong> requirements.</p><p>See you then!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3715584b2086" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 6: Protecting Your Application Against Common Vulnerabilities]]></title>
            <link>https://medium.com/@lmslamir/day-6-protecting-your-application-against-common-vulnerabilities-5f2262588b18?source=rss-81c1adf1b5d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f2262588b18</guid>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[security-vulnerabilities]]></category>
            <category><![CDATA[outsystems]]></category>
            <dc:creator><![CDATA[BlackLowCode]]></dc:creator>
            <pubDate>Tue, 15 Apr 2025 21:46:21 GMT</pubDate>
            <atom:updated>2025-04-22T14:47:35.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Day 6: Protecting Your Application Against Common Vulnerabilities" src="https://cdn-images-1.medium.com/max/1024/1*A_QTigpbmect9BQpLdHPNg.png" /></figure><p>As web applications evolve and become more powerful through the internet, the methods used by attackers grow just as quickly. Every application must be designed with a secure architecture to handle potential vulnerabilities and remain up to date with the latest security practices.</p><p>When developing secure applications in OutSystems, it’s crucial to commit to continuous improvement of your software’s security. To ensure strong compliance, your app’s architecture must address two critical responsibilities:</p><ol><li>Ensuring that developed applications are secure.</li><li>Ensuring that applications run in a secure environment.</li></ol><h3>🔍To guide developers, OutSystems aligns with the <strong>OWASP (Open Web Application Security Project)</strong> standards — that identifies the most critical security risks in web applications.</h3><p>Let’s explore the <strong>OWASP Top 10 (2021)</strong> and how OutSystems helps address each:</p><h3>📌A1: Broken Access Control</h3><p>Access control is vital for protecting sensitive application data. Use <strong>Role-Based Access Control (RBAC)</strong> to ensure only authenticated users with the appropriate roles can access protected parts of your application.</p><h3>📌A2: Cryptographic Failures</h3><p>Always enforce HTTPS for all web screens to ensure secure data transmission. OutSystems supports <strong>SSL encryption</strong> out of the box. For additional security, use <strong>built-in cryptographic components</strong> to protect sensitive data.</p><h3>📌A3: Injection</h3><p>To avoid <strong>Cross-Site Scripting (XSS)</strong> and other injection attacks, use OutSystems’ tools to sanitize user inputs before they’re stored or displayed. Implement <strong>Content Security Policies (CSP)</strong> to prevent clickjacking and other malicious exploits.</p><h3>📌A4: Insecure Design</h3><p>Customizing OutSystems logic may trigger security warnings during development. OutSystems automatically applies <strong>static code analysis</strong> and other security assessments to help you catch insecure design patterns early.</p><h3>📌A5: Security Misconfiguration</h3><p>OutSystems provides administrators with clear guidelines to securely configure the platform. The infrastructure is hosted in <strong>Amazon Web Services (AWS)</strong> data centers with robust security. You can also define and implement custom security controls to meet your application’s needs.</p><h3>📌A6: Vulnerable and Outdated Components</h3><p>OutSystems continuously monitors its platform for vulnerabilities and releases updates through a <strong>continuous delivery model</strong>. As a developer, you must also keep track of any external components used (e.g., from Forge) and update them regularly to reduce risk.</p><h3>📌A7: Identification and Authentication Failures</h3><p>OutSystems protects against brute-force attacks and uses secure authentication mechanisms:</p><ul><li>Session IDs are not exposed in URLs.</li><li>Sessions expire automatically.</li><li>Passwords are encrypted using strong algorithms. Always use <strong>HTTPS</strong> to avoid eavesdropping or impersonation attacks.</li></ul><h3>📌A8: Software and Data Integrity Failures</h3><p>Implement routines to <strong>sanitize and validate</strong> input/output data, especially when deserializing, to maintain software and data integrity.</p><h3>📌A9: Logging and Monitoring Failures</h3><p>Use OutSystems monitoring tools to track access to your application. Logs record:</p><ul><li>The component/screen accessed</li><li>The user who accessed it</li><li>The time of access</li><li>The server node that processed the request</li></ul><h3>📌A10: Server-Side Request Forgery (SSRF)</h3><p>If your app integrates with third-party URLs, avoid relying on external input directly. Instead, use internal properties or pre-approved domain lists. If dynamic URLs are needed, validate them rigorously before use.</p><h3>🛠️Final Thoughts</h3><p>There’s much more to cover in this field, but these practices offer a strong foundation. For deeper learning, consult the official documentation from both <strong>OutSystems</strong> and <strong>OWASP</strong> — great resources for building secure, modern applications.</p><p>In our next article, we’ll explore the <strong>default security features</strong> OutSystems provides to help developers build secure applications with ease.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f2262588b18" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>