Best of Web SecurityFebruary 2025

  1. 1
    Article
    Avatar of bytebytegoByteByteGo·1y

    EP150: 12 Algorithms for System Design Interviews

    Learn about 12 key algorithms used in system design interviews, including Bloom Filter, Geohash, and Consistent Hashing. Understand the workings of Kubernetes, an open-source container orchestration platform, and explore the architecture of PostgreSQL, the popular database system. Additionally, discover important tips for API security.

  2. 2
    Article
    Avatar of juststevekingJustSteveKing·1y

    Advanced Authorization methods in Laravel

    Laravel offers robust authorization mechanisms through Gates and Policies, primarily using RBAC. However, for more granular control, ReBAC, ABAC, and PBAC models can be implemented to suit various use cases. ReBAC is useful for relationship-based checks, ABAC offers fine-tuned control through attributes, and PBAC combines attributes and relationship-based checks with high-level policy definitions. Choosing the right model depends on the complexity, performance, and scalability needs of your application.

  3. 3
    Video
    Avatar of t3dotggTheo - t3․gg·1y

    The worst code I've ever seen

    A developer shares an experience with encountering extremely bad JavaScript code that made them question their career. The post details the various issues in the code, including security vulnerabilities, improper SQL handling, and overall poor coding practices. It also covers a journey of tracing the code's origins, transformations, and how it ended up as a viral meme. The post emphasizes the importance of secure and efficient coding techniques.