<?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 Santhirakasan Sathiyabalan on Medium]]></title>
        <description><![CDATA[Stories by Santhirakasan Sathiyabalan on Medium]]></description>
        <link>https://medium.com/@intsathiyabalan?source=rss-fc3e32226df2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*v6HrY5TcmVoczr3NiF37jQ.jpeg</url>
            <title>Stories by Santhirakasan Sathiyabalan on Medium</title>
            <link>https://medium.com/@intsathiyabalan?source=rss-fc3e32226df2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:18:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@intsathiyabalan/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[From Writing Code to Reviewing Intelligence: How AI Is Changing the Software Engineer’s Role]]></title>
            <link>https://medium.com/@intsathiyabalan/from-writing-code-to-reviewing-intelligence-how-ai-is-changing-the-software-engineers-role-3340ff3d35c0?source=rss-fc3e32226df2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3340ff3d35c0</guid>
            <category><![CDATA[coding-technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Santhirakasan Sathiyabalan]]></dc:creator>
            <pubDate>Wed, 21 Oct 2026 09:14:25 GMT</pubDate>
            <atom:updated>2026-10-21T09:14:25.464Z</atom:updated>
            <content:encoded><![CDATA[<p><em>As AI coding agents become more capable, software engineering is shifting from manual implementation toward system design, critical review, and technical judgment. What does that mean for developers today — and for the engineers of tomorrow?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ODjHypg4JyqFlk1AL3xdZg.png" /></figure><p>The most significant change AI is bringing to software engineering is not simply that code can be generated faster. It is that the relationship between an engineer and the process of building software is changing.</p><p>For years, software development required engineers to translate requirements into logic, write code, debug errors, read documentation, and test their implementations. AI coding assistants have begun to change that workflow. Developers can now describe a feature in natural language, receive an implementation, generate tests, and ask an AI system to explain or modify an unfamiliar codebase.</p><p>With tools such as Gemini-powered coding assistants and OpenAI Codex, the discussion has moved beyond autocomplete. Modern coding agents can plan tasks, work across multiple files, execute commands, and help complete longer engineering workflows.</p><p>This raises a more important question than whether AI can write code:</p><p>When machines can implement more of our instructions, what skills distinguish a software engineer from someone who simply knows how to prompt an AI model?</p><p>Answering that question requires looking at how AI has evolved, how it is changing everyday engineering work, what it still gets wrong, and what these developments could mean for the future of the profession.</p><h3>1. From autocomplete to AI coding agents: How we got here</h3><p>The integration of AI into software development did not begin with today’s conversational models. Developers have used autocomplete, static analysis, intelligent code suggestions, and automated debugging tools for years. These tools helped engineers work more efficiently, but the developer generally remained responsible for translating a problem into code and connecting the pieces.</p><p>Generative AI introduced a different interaction model. Instead of searching for a particular function or manually navigating documentation, a developer could describe a problem in natural language and receive an explanation, code sample, or proposed solution.</p><p>This changed the way developers approached unfamiliar technologies. A developer learning Django, for example, could ask for an explanation of middleware, request a sample REST API, or investigate an error without switching repeatedly between documentation pages and search results.</p><p>The next step was the integration of AI directly into development environments. AI assistants could use relevant code context to suggest changes, explain existing implementations, generate tests, and help refactor projects.</p><p>More recently, coding agents have expanded these capabilities. Rather than responding only with a code snippet, an agent may inspect a repository, propose a plan, edit several files, run tests, and revise its implementation based on the results.</p><p>OpenAI’s Codex tooling and Google’s Gemini coding tools illustrate this transition toward more agentic development workflows.</p><p>The difference is significant. A traditional assistant might suggest how to add an API endpoint. An agent may be able to modify the route, implement the associated business logic, update tests, and attempt to verify the result.</p><p>However, the ability to execute more steps does not mean the system understands every business requirement, architectural constraint, or production risk.</p><p>That distinction becomes central to the changing role of the engineer.</p><h3>2. Beyond code generation: How AI is changing the development workflow</h3><p>Software engineering involves far more than writing functions. A typical development task can include understanding requirements, designing a solution, implementing business logic, testing edge cases, reviewing changes, updating documentation, and preparing a release.</p><p>AI is increasingly useful across these stages.</p><p>Consider a simple requirement: build a REST API that allows registered users to create and manage projects.</p><p>A developer using Django REST Framework might previously have needed to work through the models, serializers, views, permissions, URL configuration, and tests individually. An AI coding assistant can now help generate much of that initial implementation and explain how the components fit together.</p><p>The engineer can then spend more time evaluating the design, checking authorization rules, testing invalid requests, and ensuring that users cannot access projects they do not own.</p><p>The same pattern appears in debugging. Instead of manually tracing every function, a developer can provide an error message, relevant code, and expected behaviour to an AI assistant. The assistant can propose possible causes and suggest fixes. The engineer must still determine whether the explanation fits the actual system.</p><p>AI also changes the economics of experimentation. Developers can explore alternative implementations, generate test cases, and refactor repetitive code with less initial effort. Tasks that previously required substantial typing may now require more careful instructions and verification.</p><p>Research on AI coding assistants has found benefits across activities such as feature implementation, testing, bug triage, refactoring, and writing technical documentation. However, adoption and effectiveness vary across tasks and developers.</p><p>The important shift is not that every development task has become effortless. It is that the amount of manual implementation required to explore a solution is decreasing, while the importance of evaluating that solution remains.</p><h3>3. The new core skill: Understanding and reviewing AI-generated code</h3><p>Imagine an AI agent generates a complete backend API. The code follows the framework’s conventions, the endpoints respond successfully, and the basic tests pass.</p><p>Is the feature ready for production?</p><p>Not necessarily.</p><p>The implementation might allow users to access records belonging to other accounts. It might fail when two requests update the same record simultaneously. It might expose sensitive information through error messages, perform unnecessary database queries, or accept invalid input that creates inconsistent data.</p><p>These problems are not always obvious from reading a generated function. They require an understanding of the system in which the function operates.</p><p>This is where engineering knowledge becomes essential.</p><p>Architecture and design. Engineers must understand how components interact, where business logic belongs, how services communicate, and how a proposed change affects the existing system.</p><p>Security and authorization. Code that works is not automatically secure. Authentication, permissions, input validation, secret management, and protection against common vulnerabilities must be deliberately verified.</p><p>Testing and reliability. A successful response from one API request does not prove that the implementation handles invalid data, concurrent operations, network failures, or unexpected inputs correctly.</p><p>Maintainability. AI can generate a working solution that introduces unnecessary abstraction, duplicates existing functionality, or makes the codebase harder to understand. Engineers need to evaluate the long-term cost of the implementation, not just whether it works today.</p><p>Performance and scalability. An implementation may perform adequately with ten records but become inefficient with a million. Engineers must understand database access patterns, caching, resource consumption, and the requirements of the actual workload.</p><p>Consider two developers working on the same feature. The first accepts an AI-generated implementation because the application runs. The second examines the database queries, checks ownership permissions, adds meaningful tests, reviews the error-handling behaviour, and verifies the changes against the requirements.</p><p>Both may have produced the feature quickly. Only the second has established a stronger basis for trusting it.</p><p>This is why reviewing AI-generated code is not a secondary responsibility. It is becoming a central engineering skill.</p><p>The goal is not to inspect every line mechanically. It is to understand the important assumptions, identify high-risk decisions, and gather enough evidence to trust the result.</p><h3>4. The hidden cost: Why AI still needs an engineer</h3><p>AI-generated code can look convincing even when it is incorrect. A model may invent an API, misunderstand a requirement, use an outdated pattern, or produce an implementation that works for the example but fails under different conditions.</p><p>The difficulty is that these failures are not always obvious.</p><p>When a developer writes code manually, the implementation process can expose misunderstandings early. When an AI agent generates a large change in one operation, the result may contain many interacting decisions that the developer must subsequently understand.</p><p>This introduces a different kind of work: verification.</p><p>A 2026 study presented at the CHI Conference examined 60 participants solving programming tasks with different AI-assisted workflows. It found that AI assistance reduced task time and workload in the study, but also examined the effort developers spend verifying and correcting model output. The results illustrate why speed, correctness, and verification effort should be considered together.</p><p>There is also a danger in assuming that a successful test suite proves correctness. Tests only verify the behaviours they cover. If the requirements are incomplete or the tests reproduce the same mistaken assumptions as the implementation, both can pass while the underlying problem remains.</p><p>For example, an AI-generated payment endpoint might pass tests for successful payments but fail to handle duplicate callbacks safely. A generated permission check might work for an administrator while accidentally allowing one ordinary user to access another user’s resources.</p><p>The more code an AI system can produce, the more important it becomes to define what correctness means.</p><p>A responsible workflow therefore includes reviewing the proposed changes, running appropriate tests, checking security-sensitive logic, and verifying behaviour against explicit requirements. AI-generated code should also be handled according to the same version-control, review, and deployment controls as code written by a person.</p><p>There is a broader lesson here: automation can reduce the effort needed to produce a result without eliminating the effort needed to establish that the result is correct.</p><h3>5. From implementation to supervision: The changing role of an engineer</h3><p>Historically, much of a developer’s visible work involved translating a specification into code. With increasingly capable AI tools, part of that work can be delegated.</p><p>The engineer’s responsibility then moves toward deciding what should be built, defining the constraints, evaluating possible solutions, and determining whether the result is acceptable.</p><p>This does not mean engineers will stop writing code. It means the balance between writing, directing, reviewing, and maintaining code may change.</p><p>Consider a task to add role-based access control to an existing application.</p><p>An AI agent might implement permission classes, update endpoints, generate tests, and modify several related files. But it needs the engineer to establish which roles exist, what each role is permitted to do, whether existing behaviour must be preserved, and which security boundaries must never be crossed.</p><p>If the initial requirements are vague, the agent may produce a technically consistent implementation that solves the wrong problem.</p><p>The engineer therefore becomes responsible for turning an ambiguous business requirement into a precise technical task, guiding the implementation, and evaluating the outcome.</p><p>This shift places greater value on skills that extend beyond syntax:</p><ul><li>Breaking complex requirements into manageable tasks.</li><li>Understanding unfamiliar codebases and identifying relevant context.</li><li>Designing systems and choosing appropriate trade-offs.</li><li>Writing tests that challenge assumptions rather than simply confirm expected behaviour.</li><li>Reviewing changes critically and tracing failures to their root causes.</li><li>Making decisions when the available information is incomplete.</li></ul><p>These are not exclusively senior-level skills. Developers at every level can begin developing them.</p><p>The difference is that AI makes it possible to produce code before fully understanding the problem. That increases the importance of learning how to reason about the problem independently.</p><p>An engineer who understands the system can use AI as leverage. An engineer who depends entirely on AI may struggle when the generated solution fails, behaves unexpectedly, or cannot be explained.</p><h3>6. The changing engineering landscape: Skills, jobs, and opportunities</h3><p>AI’s impact on software engineering extends beyond individual workflows. It may also influence how teams are structured, what employers expect, and which tasks are assigned to junior developers.</p><p>If AI reduces the time required for routine implementation, some companies may expect smaller teams to deliver more work. Others may use the additional capacity to build products they previously lacked the resources to develop.</p><p>This creates an important question about entry-level opportunities.</p><p>Junior developers often begin by implementing relatively small features, fixing bugs, writing tests, and learning how an existing application works. These tasks may appear routine, but they are also how developers gain the experience needed to understand larger systems.</p><p>If companies automate more of this work or reduce hiring for entry-level positions, new developers may find it harder to gain their first professional experience. At the same time, AI can help junior engineers understand unfamiliar code, explore solutions, and receive explanations that would otherwise require more direct guidance.</p><p>The outcome is not predetermined. It depends on how organisations use these tools and how developers adapt.</p><p>For companies, productivity gains may create opportunities to deliver more value with fewer resources. For engineers, however, the distribution of those gains matters: higher output does not automatically translate into better pay, more jobs, or better learning opportunities.</p><p>There is also a risk of weakening the engineering career ladder. Senior engineers develop their judgment through years of debugging, reviewing failures, making design decisions, and maintaining production systems. If future engineers have fewer opportunities to gain that experience, organisations could eventually face a shortage of people with the depth of knowledge needed to lead complex projects.</p><p>The answer is not to reject AI. It is to make sure that AI-assisted work still includes learning, ownership, code review, and opportunities to understand how systems behave in practice.</p><p>For aspiring engineers, the implication is clear: learning to use AI is valuable, but so is developing the ability to work without it when necessary.</p><h3>7. What comes next? The future of software engineering</h3><p>The pace of AI development makes precise predictions difficult. However, current trends suggest several plausible directions.</p><h3>More capable coding agents</h3><p>AI systems are moving from answering isolated questions toward executing multi-step tasks. Future workflows may involve agents that investigate issues, propose implementations, run tests, review failures, and prepare changes for human approval.</p><p>OpenAI’s Codex tooling and Google’s Gemini development tools already demonstrate parts of this direction.</p><p>As these systems improve, developers may delegate larger portions of well-defined tasks. The challenge will be ensuring that agents operate within appropriate permissions, respect project constraints, and produce changes that can be verified.</p><h3>A shift toward system-level thinking</h3><p>When generating code becomes easier, the ability to decide what code should exist becomes more valuable.</p><p>Engineers will still need to understand programming languages and frameworks. But they will also need to reason about architecture, data flows, security boundaries, failure modes, and how individual components contribute to the larger system.</p><p>Knowing how to generate an API is useful. Knowing whether that API belongs in the system, how it should be secured, and how it will behave under failure is a deeper skill.</p><h3>More emphasis on verification and accountability</h3><p>As AI generates larger changes, reviewing them may become a significant part of development work.</p><p>This will likely increase the importance of automated testing, continuous integration, static analysis, security scanning, observability, and controlled deployments. These practices are not new, but they become even more important when the volume of generated code increases.</p><p>The goal should not be to trust AI more simply because its capabilities improve. It should be to build workflows in which its output can be evaluated systematically.</p><h3>A different definition of productivity</h3><p>Traditionally, developers and managers have sometimes treated the amount of code produced as a rough indication of progress. That measure is already inadequate, and AI makes its limitations more obvious.</p><p>A developer who generates thousands of lines of unnecessary code has not necessarily created more value than one who solves the problem with a small, well-designed change.</p><p>More meaningful measures include whether requirements are satisfied, defects are prevented, users benefit, systems remain maintainable, and changes can be delivered reliably.</p><p>AI may change the speed of implementation, but the objective of software engineering remains the same: solving real problems with dependable systems.</p><h3>8. Conclusion: The engineer behind the intelligence</h3><p>AI is changing software engineering at a fundamental level. It can reduce the effort required to write code, accelerate debugging, support testing, and help developers navigate unfamiliar systems. With coding agents, it can also participate in increasingly complex development workflows.</p><p>But these capabilities do not remove the need for engineering judgment.</p><p>A generated implementation can be syntactically correct and still be insecure. A feature can work in a demonstration and fail under real-world conditions. An agent can complete every step in its plan while misunderstanding the problem it was supposed to solve.</p><p>The engineer’s responsibility is to bridge that gap between generated output and reliable software.</p><p>This requires more than writing effective prompts. It requires understanding programming fundamentals, system design, testing, security, and the trade-offs involved in building software that people depend on.</p><p>For junior developers, this is particularly important. AI should be a way to accelerate learning and explore ideas, not a reason to stop developing independent problem-solving skills. For experienced engineers, it is an opportunity to apply their knowledge more broadly while taking greater care over the decisions that AI cannot reliably make on its own.</p><p>The future will likely involve a combination of human engineers and increasingly capable AI systems. The exact balance remains uncertain, but the need to define problems, evaluate solutions, and take responsibility for the systems we build is unlikely to disappear.</p><p>Perhaps the most important question is no longer how quickly AI can write code.</p><p><strong>It is whether we can become better engineers as the amount of code we need to write ourselves continues to decrease.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3340ff3d35c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Secure Stall Reservation System: A Deep Dive into OIDC, Spring Security, and OWASP…]]></title>
            <link>https://medium.com/@intsathiyabalan/building-a-secure-stall-reservation-system-a-deep-dive-into-oidc-spring-security-and-owasp-03e0d80fa405?source=rss-fc3e32226df2------2</link>
            <guid isPermaLink="false">https://medium.com/p/03e0d80fa405</guid>
            <dc:creator><![CDATA[Santhirakasan Sathiyabalan]]></dc:creator>
            <pubDate>Mon, 31 Aug 2026 14:37:05 GMT</pubDate>
            <atom:updated>2026-08-31T15:44:01.969Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a Secure Stall Reservation System: A Deep Dive into OIDC, Spring Security, and OWASP Mitigations</h3><p>Developing modern web applications requires a “security-first” mindset. For my recent university assessment, I was tasked with enhancing a <strong>Stall Reservation Platform</strong> for a book fair — transforming it into a production-grade, highly secure system.</p><p>In this article, I will share my experience building this application, focusing on the security considerations, authentication protocols, implementation strategies, development challenges, and the learning outcomes of this project.</p><h3>The Architecture &amp; Technology Stack</h3><p>The application is split into a separate frontend and backend to decouple presentation from business logic:</p><ul><li><strong>Frontend</strong>: A responsive Single Page Application (SPA) built using <strong>React 19</strong>, <strong>Vite 7</strong>, and styled with <strong>Tailwind CSS</strong> and <strong>Framer Motion</strong>.</li><li><strong>Backend</strong>: A secure REST API developed using <strong>Java 21</strong> and <strong>Spring Boot 3.5</strong>.</li><li><strong>Database</strong>: <strong>MySQL 8</strong> for data persistence.</li></ul><p>For communication, the React frontend issues REST requests over HTTP/HTTPS, passing credentials using <strong>bearer tokens</strong> in the request headers. The Spring Boot backend acts as an OAuth2 Resource Server, decoding and validating tokens before processing data.</p><h3>🔐 Authentication Protocol: OIDC and Federated Identity</h3><p>The core requirement of the assessment was implementing federated authentication using either <strong>OpenID Connect (OIDC)</strong> or <strong>SAML</strong>. I chose <strong>OIDC</strong> due to its modern, developer-friendly JSON-based nature, executing the <strong>Authorization Code Flow with PKCE (Proof Key for Code Exchange)</strong> to secure the client-side SPA.</p><h3>How it works:</h3><ol><li>The React app is configured with react-oidc-context and oidc-client-ts.</li><li>Unauthenticated users are redirected to the Identity Provider (IdP) login page.</li><li>Upon successful login, the browser receives an <strong>Access Token</strong> and an <strong>ID Token</strong>.</li><li>The frontend sends this Access Token in the Authorization: Bearer &lt;token&gt; header of every API call.</li><li>The Spring Boot Resource Server parses the signature using public keys fetched from the provider’s JWKS endpoint (.well-known/jwks.json), verifies the issuer/audience claims, and maps user groups to Spring Security authorities.</li></ol><h3>The Local Fallback</h3><p>To ensure the application remains functional offline during development, I also maintained a secure local fallback authentication engine:</p><ul><li><strong>Registration &amp; Login</strong>: Credentials are validated using BCrypt password encoding.</li><li><strong>Local JWTs</strong>: The backend signs custom HMAC-SHA256 tokens using a secret configuration key (JWT_SECRET).</li></ul><h3>🛡️ Mitigating the OWASP Top 10</h3><p>A primary focus was hardening the application against common security vulnerabilities. Here is how the implementation aligns with key OWASP categories:</p><h3>1. A01:2021 — Broken Access Control</h3><p>Access control is enforced at both the API routing level and the method level using Spring Security annotations:</p><ul><li><strong>Role Separation</strong>: Only accounts mapped to ROLE_EXHIBITION_ORGANIZER can access management interfaces, update reservation statuses, or scan tickets.</li><li><strong>IDOR Prevention</strong>: Before a vendor can view a reservation, payment, or profile, backend services explicitly check if the authenticated user’s ID matches the owner ID of the record. This blocks attempts to view other users’ data by changing numerical IDs.</li></ul><h3>2. A02:2021 — Cryptographic Failures</h3><ul><li><strong>Password Hashing</strong>: Plaintext passwords are never stored. BCrypt is utilized with a default strength factor to prevent offline cracking.</li><li><strong>SSL/TLS (HTTPS)</strong>: The application supports HTTPS locally and enforces TLSv1.2/v1.3. Certs are configured securely via Spring Boot’s embedded Tomcat using PKCS12 keystores. Bypassing certificate verification (e.g., TrustAllCerts) is strictly forbidden.</li></ul><h3>3. A03:2021 — Injection</h3><ul><li><strong>SQL Injection</strong>: Spring Data JPA utilizes parameterized queries automatically, separating SQL commands from user input data.</li><li><strong>XSS &amp; Input Validation</strong>: All incoming requests are filtered and parsed using Jakarta Bean Validation constraints (@NotBlank, @Size, @Pattern).</li></ul><h3>4. A05:2021 — Security Misconfiguration</h3><ul><li><strong>HTTP Security Headers</strong>: Strict transport security (HSTS), frame options (DENY), content security policies (default-src &#39;self&#39;), and referrer policies are sent with every API response.</li><li><strong>CORS Hardening</strong>: Rather than allowing wildcard origins (*), the application explicitly reads allowed host origins from CORS_ALLOWED_ORIGINS (e.g., matching the local Vite development port).</li><li><strong>Error Sanitization</strong>: To prevent information disclosure, Spring Boot is configured to never return raw Java stack traces, exception classes, or binding details to the client.</li></ul><h3>🚧 Challenges Faced During Development</h3><p>Securing a distributed application is rarely straightforward. I encountered three main hurdles during this project:</p><ol><li><strong>OIDC Shadow User Synchronization</strong>: When a user registers and authenticates through the OIDC cloud provider, the backend needs a way to link that profile with local database records (such as stall holdings and reservations). I resolved this by designing an interceptor in the StallHoldController and reservation services. Upon token validation, if a user profile matching the OIDC token&#39;s email doesn&#39;t exist locally, the backend automatically creates a &quot;shadow record&quot; and assigns default roles.</li><li><strong>CORS &amp; Redirect URI Alignment</strong>: Identity Providers enforce character-by-character matching on redirect URIs. During transition to local HTTPS development, subtle differences between http://localhost:5173 and https://localhost:5173 caused OIDC callback failures. Setting up environments with specific .env profiles for HTTP and HTTPS resolved the synchronization.</li><li><strong>Local HTTPS Development</strong>: OIDC protocols strongly prefer HTTPS origins. Generating self-signed keystores using keytool and getting browsers to trust them without throwing red warnings required setting up local trusted Root Certificate Authorities using mkcert.</li></ol><h3>📈 Learning Outcomes &amp; Reflections</h3><p>Hardening this application provided invaluable insights into production-level security:</p><ul><li><strong>Understanding Federated Flows</strong>: Running authentication code flows with PKCE bridged the gap between academic theory and practical implementation.</li><li><strong>Methodical Testing</strong>: Writing integration tests using spring-security-test to mimic expired tokens, SQL injection vectors, and unauthorized role requests highlighted the necessity of automated security pipelines.</li><li><strong>The Principle of Least Privilege</strong>: Designing distinct database service accounts rather than querying using root access proved to be a simple yet highly effective first line of defense.</li></ul><p>This project was a challenging but rewarding experience that highlighted how modern frameworks can be leverage to build highly secure, scalable architectures.</p><p><em>Check out the full repository and deployment instructions on GitHub:</em></p><p><a href="https://github.com/Sathiyabalan29/BookFair_Stall.git">https://github.com/Sathiyabalan29/Bookfair_Stall_Reservation.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03e0d80fa405" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Machine Learning Will Change Everything in the Next Decade]]></title>
            <link>https://medium.com/@intsathiyabalan/how-machine-learning-will-change-everything-in-the-next-decade-bc795eb86e3a?source=rss-fc3e32226df2------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc795eb86e3a</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[future-of-technology]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Santhirakasan Sathiyabalan]]></dc:creator>
            <pubDate>Tue, 25 Nov 2025 03:26:34 GMT</pubDate>
            <atom:updated>2025-11-25T03:26:34.451Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine visiting a doctor who can detect cancer years before symptoms appear. Or stepping into a car that drives you home flawlessly every time. This isn’t science fiction — this is the accelerating reality shaped by machine learning (ML).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*Ggtp4xel6Nm2Xenzm7dytw.png" /></figure><p>Machine learning, a branch of artificial intelligence, enables computers to learn from data and make decisions with minimal human instruction. The field is exploding: experts estimate the global ML market will reach <strong>$500 billion by 2030</strong>. It now powers everything from your smartphone apps to global climate models.</p><p>This article explores the most transformative ways machine learning will reshape the future — from healthcare and autonomous systems to the workforce and governance. The goal is simple: to show how ML is not just improving our world, but fundamentally reinventing it.</p><h3><strong>Revolutionizing Healthcare Through Predictive and Personalized Medicine</strong></h3><p>Machine learning is shifting healthcare from a reactive system to a predictive, preventive, and highly personalized one. It is saving lives earlier, cutting costs, and enhancing precision in treatment.</p><p><strong><em>AI-Powered Early Disease Detection</em></strong></p><p>Convolutional neural networks (CNNs) excel at analyzing medical images with remarkable accuracy. These models detect microscopic abnormalities in X-rays, MRIs, and retinal scans — often earlier than the human eye.</p><p>For example, ML tools for diabetic retinopathy now achieve <strong>up to 95% accuracy</strong>. Google Health pioneers these solutions, allowing clinics in remote regions to detect diseases much sooner. As adoption grows, early diagnosis will become the global standard, drastically reducing late-stage treatments and improving patient outcomes.</p><p><strong><em>Accelerating Drug Discovery Through Generative Models</em></strong></p><p>Traditional drug discovery takes <strong>10–15 years</strong> and costs billions. Machine learning is collapsing that timeline.</p><p>Reinforcement learning and generative models can:</p><ul><li>simulate millions of molecular combinations</li><li>design new drug molecules from scratch</li><li>predict biological responses in virtual environments</li></ul><p>Companies like <strong>Insilico Medicine</strong> have already reduced development time to just a few years. By 2030, AI-driven drug discovery may cut drug prices by 30%, making treatments more affordable and widely accessible.</p><p><strong><em>Hyper-Personalized Treatment Plans</em></strong></p><p>No two patients are identical — so why should treatments be?</p><p>Machine learning analyzes:</p><ul><li>genetic information</li><li>lifestyle data</li><li>wearable health metrics</li><li>medical history</li></ul><p>This enables doctors to prescribe <strong>personalized drug dosages, therapies, and prevention plans</strong> tailored to each individual. For cancer patients, it means fewer side effects and better outcomes. For everyday users, health apps will increasingly act as intelligent wellness coaches, adapting in real time to your body’s needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u_6uAMncsQdfcPNNalZ8Wg.png" /><figcaption>Predictive Diagnostics and Personalized Treatment Image</figcaption></figure><h3><strong>Autonomous Systems and the Future of Physical Infrastructure</strong></h3><p>Machine learning is enabling a world where machines can sense, predict, and act autonomously — reshaping transportation, logistics, and cities.</p><p><strong><em>The Rise of Fully Self-Driving Vehicles</em></strong></p><p>Today’s cars offer partial autonomy, but the true milestone is <strong>Level 5 autonomy</strong> — vehicles that drive anywhere without any human input.</p><p>Using data from cameras, radar, LIDAR, and maps, ML models make split-second decisions about navigation and safety. Companies like Waymo and Tesla are testing such systems today. As Elon Musk notes, <em>“Safety comes first — the goal is zero accidents through better data.”</em></p><p>Despite regulatory hurdles, analysts predict that by <strong>2035</strong>, autonomous vehicles will dominate urban transportation, turning daily commutes into productive or relaxing experiences.</p><h3><strong>Smarter Global Supply Chains</strong></h3><p>Machine learning is revolutionizing logistics by predicting delays, optimizing routes, and automating warehouses.</p><p>Examples:</p><ul><li>Amazon uses ML-powered robots to pick and sort inventory.</li><li>FedEx uses predictive analytics to reduce bottlenecks.</li><li>Transportation companies use weather and traffic predictions to avoid disruptions.</li></ul><p>These innovations cut operational errors by up to <strong>50%</strong>, reduce fuel consumption, and make deliveries faster and more reliable.</p><h3><strong>Smart Cities with Intelligent Energy and Traffic Systems</strong></h3><p>Cities consume enormous energy and face chronic traffic issues. Machine learning helps solve both.</p><ul><li><strong>Energy grids</strong> dynamically balance power based on real-time demand, reducing waste by up to 20%.</li><li><strong>Adaptive traffic lights</strong> change based on congestion, cutting travel times and emissions.</li></ul><p>Singapore already runs ML-powered traffic systems that reduce commute times by nearly 15%. Future smart cities will be cleaner, quieter, and more efficient — all thanks to data-driven intelligence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v7Ep8po1pD1EaBhur6liDg.png" /><figcaption>Autonomous Systems and the Reimagining Image</figcaption></figure><h3>Transforming the Global Workforce and Education</h3><p>Machine learning is transforming work — not by replacing people, but by augmenting them and creating entirely new roles.</p><p><strong><em>Augmentation Over Automation</em></strong></p><p>While some jobs will change, machine learning is introducing many new roles:</p><ul><li>AI prompt engineers</li><li>ML ethicists</li><li>Data storytellers</li><li>Model auditors</li><li>Human-AI collaboration specialists</li></ul><p>Humans will focus more on creativity, critical thinking, and oversight, while ML handles repetitive tasks. The best workers of the future will be those who know how to <strong>work with AI, not fear it</strong>.</p><p><strong><em>Hyper-Adaptive Learning Platforms</em></strong></p><p>Education is becoming personalized, just like healthcare.</p><p>AI tutors adapt to:</p><ul><li>your learning speed</li><li>your weak areas</li><li>your preferred content format</li></ul><p>Platforms like Duolingo already use ML to personalize lessons, boosting retention by more than 40%. Soon, every student — child or adult — will have a personalized digital tutor that adjusts to their needs in real time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f835VNCnYNb1qNxEHdCvmg.png" /><figcaption>Transforming the Global Workforce and Education Image</figcaption></figure><h3>Building Ethical and Transparent Machine Learning Systems</h3><p>As ML grows more powerful, ethical frameworks become essential to ensure fairness, safety, and trust.</p><p><strong><em>Tackling Bias and Ensuring Fairness</em></strong></p><p>Bias often enters through skewed training data. Without correction, ML models may produce unfair outcomes — especially in hiring, lending, or criminal justice.</p><p>Techniques like <strong>adversarial debiasing</strong> are now used to remove sensitive attributes (such as race or gender) from decision-making. Banks and courts increasingly incorporate fairness audits to ensure equal treatment for everyone.</p><p><strong><em>Explainable AI and the Black Box Problem</em></strong></p><p>High-performing ML models often work as “black boxes,” making decisions that are hard to interpret. Explainable AI (XAI) methods like LIME and SHAP reveal <strong>why</strong> a model made a certain choice.</p><p>This transparency is crucial in:</p><ul><li>healthcare decisions</li><li>loan approvals</li><li>legal judgments</li><li>autonomous systems</li></ul><p>Explainable AI builds trust by helping humans understand and question algorithms.</p><p><strong><em>Global AI Policy and Regulation</em></strong></p><p>Governments worldwide are racing to regulate AI responsibly:</p><ul><li>The <strong>EU AI Act</strong> categorizes systems by risk.</li><li>The <strong>US</strong> promotes voluntary industry guidelines.</li><li><strong>China</strong> enforces strict controls on AI and data.</li></ul><p>The future will require global collaboration to balance innovation, privacy, and safety.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sS0NyTWDxIWij9EoYZ6Jug.png" /><figcaption>Governance for Advanced ML Image</figcaption></figure><h3>Charting the Path Toward an Intelligent Future</h3><p>Machine learning is set to transform nearly every part of our lives — from how we diagnose diseases to how we travel, learn, and work. The biggest shifts include:</p><ul><li>ML integrated deeply into daily life</li><li>Personalized systems in healthcare and education</li><li>Ethical guidelines ensuring fair and safe AI</li><li>New roles emerging in a human-AI partnership</li></ul><p>The question is no longer <strong>if</strong> machine learning will shape the future — but <strong>how</strong> we choose to guide it.</p><p>The future is being built right now. Start learning, experimenting, and contributing. Your choices today will shape the intelligent world of tomorrow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc795eb86e3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building My First Operating System from Scratch — The Journey Behind NovaOS]]></title>
            <link>https://medium.com/@intsathiyabalan/building-my-first-operating-system-from-scratch-the-journey-behind-novaos-4fddc7a91dd0?source=rss-fc3e32226df2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fddc7a91dd0</guid>
            <dc:creator><![CDATA[Santhirakasan Sathiyabalan]]></dc:creator>
            <pubDate>Wed, 25 Jun 2025 08:16:36 GMT</pubDate>
            <atom:updated>2025-06-25T08:16:36.353Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building My First Operating System from Scratch — The Journey Behind NovaOS</h3><p>Repository link : <a href="https://github.com/Sathiyabalan29/NovaOS">Sathiyabalan29/NovaOS</a></p><p>Creating an operating system sounds like something only experts can do, right?<br> Well, not anymore. As a software engineering undergrad, I took a bold leap into low-level programming and built a simple OS from scratch — just using Assembly, C, and a bit of curiosity.</p><p>In this article, I’ll walk you through how I created <strong>NovaOS</strong>: a minimal OS that boots using GRUB, displays a message from the kernel, and runs inside QEMU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*SgnPeNTdvlONiaQAYpAXGg.png" /></figure><h3>Why Build an OS?</h3><p>Most of us work with operating systems daily — Windows, Linux, macOS — but few understand what happens behind the scenes. I wanted to dive into that world to understand:</p><ul><li>How bootloaders work</li><li>What a kernel actually does</li><li>How bare-metal programming differs from high-level software</li></ul><p>This project helped me get hands-on with <strong>low-level memory, binaries, and system boot processes</strong>.</p><h3>Tools &amp; Technologies Used</h3><ul><li><strong>Assembly</strong> — for bootloader</li><li><strong>C</strong> — to write the kernel</li><li><strong>GRUB</strong> — as the Multiboot bootloader</li><li><strong>QEMU</strong> — to test the OS virtually</li><li><strong>Ubuntu</strong> — as my development environment</li><li><strong>Makefile</strong> — to automate the build process</li></ul><h3>Bootloader: Writing the First Instructions</h3><p>The bootloader is the first piece of code that runs when the system starts.<br> I wrote a minimal bootloader in Assembly that uses <strong>GRUB’s Multiboot header</strong> to load my kernel.</p><p>Here’s a simple example from my boot.asm:</p><p>section .multiboot<br> align 4<br> dd 0x1BADB002<br> dd 0x0<br> dd -(0x1BADB002)</p><p>section .text<br> global start<br> extern kernel_main</p><p>start:<br> cli<br> call kernel_main<br> hlt</p><h3>The Kernel: Saying Hello!</h3><p>In kernel.c, I wrote a function to print a string directly to video memory:</p><p>void kernel_main() {</p><p>char *video_memory = (char*) 0xb8000;</p><p>const char *message = “Hello from NovaOS developed by Sathiyabalan!”;</p><p>for (int i = 0; message[i] != ‘�’; i++) {</p><p>video_memory[i * 2] = message[i];</p><p>video_memory[i * 2 + 1] = 0x07; // Gray text on black</p><p>}</p><p>}</p><p>To ensure the kernel loads correctly into memory, I used a linker.ld file:</p><p>ENTRY(start)</p><p>SECTIONS {<br> . = 1M;<br> .text : { *(.multiboot) *(.text) }<br> .data : { *(.data) }<br> .bss : { *(.bss) }<br>}</p><h3>Automating with Makefile</h3><p>Here’s a snippet from my Makefile:</p><p>all: build/kernel.bin<br> grub-mkrescue -o NovaOS.iso iso</p><p>build/kernel.bin: boot/boot.asm src/kernel.c<br> nasm -f elf32 boot/boot.asm -o build/boot.o<br> gcc -m32 -ffreestanding -c src/kernel.c -o build/kernel.o<br> ld -m elf_i386 -T linker.ld -o build/kernel.bin build/boot.o build/kernel.o</p><p>This compiles my Assembly and C files, links them, and creates a bootable ISO.</p><h3>Running the OS in QEMU</h3><p>After building everything, I ran my OS with QEMU:</p><p>qemu-system-i386 -cdrom NovaOS.iso</p><h3>What I Learned</h3><p>This wasn’t just a coding exercise — it was a deep dive into:</p><ul><li>How real computers boot up</li><li>Memory addressing and low-level output</li><li>Working without an operating system or standard libraries</li><li>Building confidence to go beyond high-level programming</li></ul><h3>Final Thoughts</h3><p>Building your own OS may sound intimidating, but it’s incredibly rewarding. You learn to appreciate how much goes into even the simplest tasks — like printing a word to the screen.</p><p>If you’re a student or enthusiast like me, give it a try. Start small, and who knows? You might just write the next Linux.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fddc7a91dd0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comprehensive Guide to Currently Available Software Licenses]]></title>
            <link>https://medium.com/@intsathiyabalan/comprehensive-guide-to-currently-available-software-licenses-fa9898bfc774?source=rss-fc3e32226df2------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa9898bfc774</guid>
            <dc:creator><![CDATA[Santhirakasan Sathiyabalan]]></dc:creator>
            <pubDate>Tue, 27 May 2025 06:32:14 GMT</pubDate>
            <atom:updated>2025-05-27T06:32:14.275Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*4lFCkJ_VY54p8DWEZE8RWA.jpeg" /></figure><p>In today’s digital world, Software governs every aspect of our lives. So, understanding software licenses is more important nowadays because the way we buy, use and manage software keeps changing as new tech updates and like Ai and cloud computing grow. Business and individuals need to know their options so they can pick the right license. This article will give you a look on the main types of software licences, highlighting their features, benefits, and appropriate use cases.</p><h3><strong>What is a Software License?</strong></h3><p>A software license is a set of rules that allows users to use, change, or share a software program legally while protecting the rights of the creator.</p><p><strong>Software licenses generally divide into two broad categories:</strong></p><ul><li><strong>Proprietary licenses</strong></li><li><strong>Open-source licenses</strong></li></ul><h3><strong>1)Proprietary Software Licenses</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/1*LtnqgSwSziCHs29XFYkStg.jpeg" /></figure><p>Proprietary software licenses restrict users from modifying copying, distributing the software. The source code is hidden, and usage is bound by the strict terms and conditions</p><p><strong>1. End-User License Agreement (EULA)</strong></p><ul><li><strong>Example</strong>: Microsoft Windows, Adobe Photoshop</li><li><strong>Features</strong>: Grants <strong>1</strong>the user the rights to use the software without but not the ownership.</li><li><strong>Restrictions</strong>: No redistribution, modification, updating allowed.</li></ul><p><strong>2. Subscription-Based Licenses</strong></p><ul><li><strong>Example</strong>: Microsoft 365, Adobe Creative Cloud</li><li><strong>Features</strong>: Users pay (monthly/yearly) for usage.</li><li><strong>Benefits</strong>: Continuous updates and support.</li></ul><p><strong>3. Perpetual Licenses</strong></p><ul><li><strong>Example</strong>: Some legacy versions of Microsoft Office</li><li><strong>Features</strong>: One-time payment and usage.</li><li><strong>Negative side</strong>: No free updates.</li></ul><h3><strong>2)Open Source Software Licenses</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*qOkh0ultLB8ggLo90DMHig.jpeg" /></figure><p>Open-source licenses allows users the ability to access, modify, and redistribute the source code. By supporting transparency and collaboration, these licenses drive innovation</p><p>1. GNU General Public License (GPL)</p><ul><li>Example: LWordPress</li><li>Type: Copyleft</li><li>Features: Derivative works must also be licensed under the GPL.</li><li>Best for: Projects that aim to remain free and open.</li></ul><p>2. MIT License</p><ul><li>Example: React.js, jQuery</li><li>Type: Permissive</li><li>Features: Allows reuse with very few restrictions.</li><li>Best for: Developers searching maximum freedom and reuse.</li></ul><p>3. Apache License 2.0</p><ul><li>Example: Apache Spark</li><li>Type: Permissive</li><li>Features: Includes patent rights and explicit grant of rights.</li><li>Best for: Corporate and enterprise-level projects.</li></ul><p>4. BSD License (Berkeley Software Distribution)</p><ul><li>Example: FreeBSD, OpenSSH</li><li>Type: Permissive</li><li>Features: Minimal restrictions on redistribution.</li><li>Variants: 2-Clause and 3-Clause BSD licenses.</li></ul><p>5. Mozilla Public License (MPL)</p><ul><li>Example: Firefox</li><li>Type: Weak Copyleft</li><li>Features: Allows integration with proprietary code, as long as MPL parts remain open.</li><li>Best for: Mixed-source projects.</li></ul><p><strong><em>Choosing the Right License</em></strong></p><p><strong>Here are some tips for selecting the appropriate license:</strong></p><ul><li><strong>For Individual Developers: Use MIT or Apache 2.0 for maximum flexibility.</strong></li><li><strong>For Startups: Choose GPL if you want to ensure your code remains open-source.</strong></li><li><strong>For Enterprises: Opt for Apache 2.0 or proprietary licenses for legal safety and patent protection.</strong></li><li><strong>For Community Projects: Consider GPL or MPL to encourage open collaboration.</strong></li></ul><h3><strong>Key Factors Influencing Software License Selection</strong></h3><h3><strong>Budget and cost</strong></h3><p>Short-term costs are easy, but long-term expenses matter more. Licenses with recurring fees might be cheaper upfront, but over years, they add up.</p><h3><strong>Legal Aspects</strong></h3><p>Always follow license rules to avoid legal trouble. Violating a license can lead to fines. Make sure your team understands licensing limits especially for the open-source agreements</p><h3><strong>Security and Data Privacy</strong></h3><p>Your license impacts your security setup. Cloud licenses often come with additional data protections. Proprietary software usually has strict security policies. Be sure your license keeps sensitive info safe.</p><h3>Recent Developments and Trends in Software Licensing</h3><h3>Transition from Traditional to Cloud and Subscription Models</h3><p>More companies are moving to cloud and subscription licenses. The market share for SaaS grew by about 30% in the last three years. Both vendors and users benefit from this shift with more flexibility and lower upfront costs.</p><h3>Increased Focus on License Management and Automation</h3><p>Tools like Flexera and Snow Software help companies track their licenses. Automated systems now help monitor compliance in real-time. This reduces risks of accidental violations and unpaid overuse.</p><h3>Impact of AI and Machine Learning on Licensing</h3><p>AI tools help optimize license usage and costs. New AI-driven licensing options include automatic scaling and resource management. As AI becomes part of more solutions, licensing for these tools will grow more complex but smarter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*Siv5-b6fbyFFe-zqppAOPA.jpeg" /></figure><h3>Conclusion</h3><p><strong>The software licensing world in 2025 offers plenty of options. Proprietary, open-source, subscription, perpetual, cloud, and hybrid licenses all have their place. The key is choosing the right one for your business goals. Stay aware of trends and always match your license to your needs. With technology moving fast, regular review of your licensing strategies helps keep costs down and security high. Keep learning, stay flexible, and ensure your software choices support your growth.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa9898bfc774" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Mastering Stored Procedures in MySQL- A Comprehensive Guide”]]></title>
            <link>https://medium.com/@intsathiyabalan/mastering-stored-procedures-in-mysql-a-comprehensive-guide-689e27e6c33f?source=rss-fc3e32226df2------2</link>
            <guid isPermaLink="false">https://medium.com/p/689e27e6c33f</guid>
            <dc:creator><![CDATA[Santhirakasan Sathiyabalan]]></dc:creator>
            <pubDate>Mon, 27 Jan 2025 17:41:00 GMT</pubDate>
            <atom:updated>2025-01-27T17:42:51.863Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*cbPDX3Gn-XXwJdi3DMQGeA.jpeg" /></figure><p>Optimizing SQL processes is essential for creating scalable, effective systems in the fields of database administration and application development. The stored procedure is one effective instrument for accomplishing this. MySQL’s stored procedures give programmers the opportunity to encapsulate intricate business logic and SQL queries, improving maintainability, security, and performance. This page offers a thorough explanation of stored procedures, including their definition, benefits, possible drawbacks, and detailed instructions for creating and running them in MySQL.</p><h3><strong>What Are Stored Procedures?</strong></h3><p>A stored procedure is a precompiled set of SQL statements that are stored in the database, allowing them to be executed as a single unit. Unlike standard SQL queries, which are typically executed from an application or script, stored procedures reside in the database itself. Once defined, stored procedures can be invoked multiple times, reducing code redundancy and optimizing database performance.</p><p>Stored procedures in MySQL can contain a variety of SQL operations such as SELECT, INSERT, UPDATE and DELETE. Additionally, they can include logic such as conditional statements, loops, and error handling, making them ideal for encapsulating business rules within the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*aHZmOCi5kpsp3RQlfFJYMQ.png" /><figcaption>A diagram showing a database schema with tables and stored procedures interacting</figcaption></figure><h3><strong>Advantages of Stored Procedures</strong></h3><ol><li>Enhancement of Performance<br>Because stored procedures are precompiled upon creation, they run more quickly than ad hoc SQL queries. Faster execution times can result from the database engine’s ability to optimize a process’s execution plan, particularly when the same procedure is carried out repeatedly.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*XQYMTnNV301plDN3ECHPHQ.jpeg" /></figure><p>2. The ability to reuse<br>Without changing the SQL code, stored procedures can be called from other components or applications once they have been developed. Because modifications to the logic only need to be made within the stored procedure, this encourages code reuse and streamlines application maintenance.</p><p>3. Enhanced Security By limiting user access to the underlying tables, stored procedures offer an extra degree of protection. Without granting users direct access to private information, permissions might be given to carry out a certain process. This reduces the possibility of SQL injection attacks and illegal data manipulation.3. Enhanced Security By limiting user access to the underlying tables, stored procedures offer an extra degree of protection. Without granting users direct access to private information, permissions might be given to carry out a certain process. This reduces the possibility of SQL injection attacks and illegal data manipulation.</p><p>4. Easier Upkeep<br>Updates are made simpler by business logic that is integrated into stored procedures. The procedure’s logic can be changed by developers, and any apps that use it will automatically gain from the change. When business logic changes, this removes the need to update several application codebases.</p><p>5. Less Traffic on the Network<br>Only the procedure call and input parameters are transmitted from the client to the server when utilizing stored procedures. This reduces network overhead, particularly when handling big datasets or intricate queries.</p><h3>Disadvantages of Stored Procedures</h3><ol><li>Debugging complexity<br>Debugging stored procedures can be more difficult because they are run inside the database, as opposed to application code. Finding problems with stored procedures might take a lot of time if you don’t have access to the sophisticated debugging tools found in application development environments.</li><li>Issues with Portability<br>Database-specific languages, such PL/SQL in Oracle, T-SQL in SQL Server, or MySQL’s procedural SQL, are frequently used to write stored procedures. Portability may be impacted as a result of the need to significantly rewrite stored procedures when moving between database platforms.</li><li>Reliance on databases<br>Applications become more dependent on the database platform when business logic is incorporated into stored procedures.</li><li>Version Control Issues<br>Managing stored procedures in version control systems can be tricky, especially when working with large teams or projects. While traditional application code is easy to track in version control systems like Git, stored procedures often require additional tools or strategies to manage version</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xmUxZhEF_lkgAEJQcvNKw.jpeg" /></figure><h3><strong>Writing and Executing Stored Procedures in MySQL</strong></h3><p>Step 1: Creating a Stored Procedure</p><p>The CREATE PROCEDURE statement in MySQL is used to create stored procedures. This is a basic illustration of how to write a stored procedure that uses the employee ID to obtain employee information.</p><pre>DELIMITER $$  -- Change delimiter temporarily<br><br>CREATE PROCEDURE GetEmployeeDetails(IN emp_id INT)<br>BEGIN<br>    SELECT name, position, salary<br>    FROM employees<br>    WHERE id = emp_id;<br>END $$<br><br>DELIMITER ;  -- Reset delimiter to semicolon</pre><p>DELIMITER $$<br>In MySQL, the default statement delimiter is the semicolon (;). However, when creating stored procedures, the semicolon might conflict with the internal SQL statements within the procedure (since stored procedures typically consist of multiple statements). To avoid this, we temporarily change the delimiter to $$, which ensures that the semicolon is not mistaken for the end of the entire procedure.</p><p>Step 2: Executing the Stored Procedure</p><p>Once the stored procedure is created, you can execute it using the CALL statement. For example, to retrieve details for an employee with ID 101:</p><pre>CALL GetEmployeeDetails(101);<br><br></pre><p>This will execute the GetEmployeeDetails stored procedure and return the employee’s name, position, and salary.</p><p><strong>Example Use Case: Employee Bonus Calculation</strong><br>Imagine a situation in which a company want to determine an employee’s bonus, which is equivalent to 10% of their pay. You can use a saved procedure to do this.</p><p>Step 1: Defining the Stored Procedure</p><pre>DELIMITER $$<br><br>CREATE PROCEDURE CalculateBonus(IN emp_id INT)<br>BEGIN<br>    DECLARE bonus DECIMAL(10,2);<br>    DECLARE emp_name VARCHAR(100);<br><br>    -- Retrieve employee details<br>    SELECT name INTO emp_name FROM employees WHERE id = emp_id;<br><br>    -- Calculate bonus (10% of salary)<br>    SELECT salary * 0.10 INTO bonus FROM employees WHERE id = emp_id;<br><br>    -- Output the result<br>    SELECT emp_name AS &#39;Employee Name&#39;, bonus AS &#39;Bonus&#39;;<br>END $$<br><br>DELIMITER ;</pre><p>Explanation:<br>DECLARE: Used to declare local variables (bonus and emp_name).<br>SELECT INTO: Retrieves the employee’s name and salary from the employees table and stores them in the declared variables.<br>Calculation: The bonus is calculated as 10% of the salary and stored in the bonus variable.<br>Output: The procedure outputs the employee’s name and bonus.</p><p>Step 2: Executing the Procedure</p><p>To execute the procedure for employee ID 101:</p><pre>CALL CalculateBonus(101);</pre><p>This will execute the procedure, calculate the bonus for employee ID 101, and return the employee’s name and bonus.</p><h3><strong>Conclusion:</strong></h3><p>MySQL’s stored procedures are a strong feature that lets programmers increase maintainability, security, and performance. Stored procedures facilitate more effective database administration and enhance the overall architecture of your systems by encapsulating intricate business logic and SQL operations. Building high-performance, secure, and scalable applications requires an understanding of stored procedures, despite the fact that they have drawbacks such database dependency and debugging complexity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AeprvrpCfeUNN_pKH-a8cQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=689e27e6c33f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Survive with technology: Understanding the CIA triad in cyber security]]></title>
            <link>https://medium.com/@intsathiyabalan/survive-with-technology-understanding-the-cia-triad-in-cyber-security-c216f1025598?source=rss-fc3e32226df2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c216f1025598</guid>
            <category><![CDATA[cia]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Santhirakasan Sathiyabalan]]></dc:creator>
            <pubDate>Mon, 15 Jul 2024 06:12:38 GMT</pubDate>
            <atom:updated>2024-07-15T06:12:38.959Z</atom:updated>
            <content:encoded><![CDATA[<p>In this digital era, protecting information online is more important than ever. The CIA, known for gathering intelligence, also plays a big role in keeping our digital world safe. This article mainly covers the understanding of CIA triad in cyber security. By understanding how the CIA Triad works, we can see how the CIA helps keep our digital information securely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JnQCV8_vt-E6xyhjCTIX4Q.jpeg" /></figure><h3><strong>What is the CIA Triad?</strong></h3><p>The three letters in “CIA triad” stand for Confidentiality, Integrity, and Availability. The CIA triad is a common model that forms the basis for the development of security systems. They are used for finding vulnerabilities and methods for creating solutions.</p><p><strong>1.</strong> <strong>Confidentiality</strong></p><p>Confidentiality involves the efforts of an organization to make sure data is kept secret or private. To accomplish this, access to information must be controlled to prevent the unauthorized sharing of data — whether intentional or accidental. The important point of maintaining confidentiality is making sure that people without proper authorization are prevented from accessing assets important to your organization.</p><p>2. <strong>Integrity</strong></p><p>It deals with the accuracy and trustworthiness of data. It’s about ensuring that the information is reliable and unaltered from its original state. In simple terms, it’s the assurance that the message you send is the message received, unchanged, and uncorrupted.</p><p><strong>3.Availability</strong></p><p>Systems, applications, and data are invaluable to an organization only if they are accessible when needed. Availability ensures that networks, systems, and applications are operational, providing t reliable access for authorized users. To ensure availability, organizations can implement measures such as server and network redundancy, hardware fault tolerance, regular software updates, data backups, comprehensive disaster recovery plans, and DoS protection solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IaTn2136gJZCgc8o7zhp7w.jpeg" /></figure><p><strong>Why and when should you use CIA Triad?</strong></p><p>CIA triad is important for most of the security purposes. It plays a major role in developing systems, managing permissions and providing access etc. When come to the organization, we should also need to provide a clear understanding to employee about the CIA triad when addressing the cyber vulnerabilities of the organization. It is a powerful cyber killing chain which refers to the process of targeting and executing a cyberattack. The real-life case studies can help employees to think in terms of the maintenance of confidentiality, integrity, and availability of information and systems.</p><p>· <strong>Designing Information Systems</strong>: When designing new information systems, The principle of CIA ensures that security measures are built-in from the outset.</p><p>· <strong>Security Controls</strong>: CIA Triad helps in protect against threats and prevent from the cyber-attacks and help to maintain data confidential.</p><p>· <strong>Risk Management</strong>: During risk management processes, considering the CIA Triad helps in identifying and implementing appropriate controls to mitigate risks.</p><p><strong>The Scenarios where CIA Triad used in real world</strong></p><p><strong>·</strong> <strong>confidentiality</strong></p><p>The employee paycheck database, which records all employee information. That database is only accessible to a few authorized personnel. Furthermore, the information given to that specific group is not the same for everyone, and constraints on the details provided can be implemented.</p><p>· <strong>Integrity</strong></p><p>In the banking industry, a sense of trust should be developed between a bank and its clients about financial information and account balances, guaranteeing that these credentials are genuine and have not been twisted or manipulated. Data must always be protected whether it is utilized or in transit, or kept in a storage device, data center, or cloud server to preserve data integrity.</p><p>·<strong>Availability</strong></p><p>A lot of businesses really care about their websites being easy to reach and work well. Even a small problem that stops a website from working properly can mean losing money, making customers upset, and damaging the business’s reputation. Hackers often use something called a Denial of Service attack, where they send too many requests to a website all at once. This can overload the server and make the website slow or even stop working for real users.</p><p>To prevent this, websites that need to be always available should have backup systems and extra copies of their data stored safely. They also use special software to watch how well the system is working and to keep an eye on how much traffic is going through. This helps them fix problems quickly and keep the website running smoothly for everyone who wants to use it.</p><h3><strong>Conclusion</strong></h3><p>In conclusion, the CIA Triad is very important in cybersecurity, offering a strong framework to protect important information by focusing on keeping information and data is safe and accessible to the right people. As technology advances and threats grow the CIA triad is important in keeping things running smoothly, and staying strong in today’s connected world and also helps keep digital interactions safe and reliable.</p><h3>References.</h3><p><em>1)</em> <em>What is the CIA Triad and Why is it important? | Fortinet</em>. (n.d.). Fortinet. <a href="https://www.fortinet.com/resources/cyberglossary/cia-triad">https://www.fortinet.com/resources/cyberglossary/cia-triad</a></p><p><em>2)</em> Kingsley, S., &amp; Kingsley, S. (2024, May 23). <em>The CIA triad: a pillar in cybersecurity</em>. Veeam Software Official Blog. <a href="https://www.veeam.com/blog/cybersecurity-cia-triad-explained.html#:~:text=It&#39;s%20an%20acronym%20representing%20a,the%20right%20to%20view%20it.">https://www.veeam.com/blog/cybersecurity-cia-triad-explained.html#:~:text=It&#39;s%20an%20acronym%20representing%20a,the%20right%20to%20view%20it.</a></p><p><em>3)</em> <em>What is CIA Triad? Examples, Components, Importance &amp; Goals</em>. (2024, June 17). <a href="https://www.knowledgehut.com/blog/security/cia-in-cyber-security">https://www.knowledgehut.com/blog/security/cia-in-cyber-security</a></p><p><em>4)</em> Irwin, L. (2023, September 13). <em>Demystifying the CIA Triad: Why It’s Crucial for Cyber Security</em>. IT Governance UK Blog. <a href="https://www.itgovernance.co.uk/blog/what-is-the-cia-triad-and-why-is-it-important">https://www.itgovernance.co.uk/blog/what-is-the-cia-triad-and-why-is-it-important</a></p><p><em>5)</em> UNext Editorial Team. (2023, January 12). What is CIA Triad? Significance, Examples, applications | UNext | UNeXT. <em>UNext</em>. <a href="https://u-next.com/blogs/cyber-security/what-is-cia-triad-significance-examples-applications/">https://u-next.com/blogs/cyber-security/what-is-cia-triad-significance-examples-applications/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c216f1025598" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>