Best of SecurityNovember 2024

  1. 1
    Article
    Avatar of techworld-with-milanTech World With Milan·2y

    How to learn API?

    Learn the essentials of API development, including core protocols, architecture styles, and security practices. Discover best practices for designing, documenting, and testing APIs, alongside a curated list of resources to aid in your API journey. Avoid common API anti-patterns with practical examples and tips.

  2. 2
    Article
    Avatar of bytebytegoByteByteGo·2y

    EP137: Proxy vs Reverse Proxy

    A forward proxy serves as an intermediary between user devices and the internet, commonly used for protecting clients, avoiding browsing restrictions, and blocking access to certain content. Conversely, a reverse proxy accepts client requests, forwards them to web servers, and returns the results, providing benefits like server protection, load balancing, caching static content, and handling SSL communication.

  3. 3
    Article
    Avatar of syncfusionSyncfusion·2y

    Secure JWT Storage: Best Practices

    JSON Web Tokens (JWTs) are crucial for securing data transmission in single-page applications (SPAs), but they come with security risks such as cross-site scripting (XSS) and cross-site request forgery (CSRF). Secure storage methods include using HttpOnly cookies with the Secure flag, encrypting JWTs before client-side storage, and employing server-side session management. Advanced practices like using web workers and Content Security Policies (CSPs) further enhance security. Continuous security audits and updates are necessary to maintain a secure SPA.

  4. 4
    Video
    Avatar of bytebytegoByteByteGo·2y

    How SSH Really Works

    SSH is essential for providing secure remote access over unsecured networks. This video explains how SSH creates a secure tunnel between client and server, focusing on SSH2, which offers improved security features compared to SSH1. Key aspects covered include TCP connection establishment, version and algorithm negotiation, key exchange using the Elliptic Curve Diffie-Hellman method, and public key authentication. Once authenticated, all communication between the client and server is encrypted using a session key. SSH also supports local forwarding for tunneling other network services securely.

  5. 5
    Article
    Avatar of cerbosCerbos·2y

    How to use ReactJS for secure Role Based Access Control

    ReactJS simplifies building interactive user interfaces through reusable components. By integrating Cerbos, a modern Authorization-as-a-Service solution, developers can efficiently handle authorization for an internal admin dashboard. Cerbos provides a flexible Policy Decision Point (PDP) that can be deployed in various environments, ensuring secure Role Based Access Control (RBAC). Using Docker, developers can test and implement policies to manage roles and permissions precisely, preventing unauthorized access to sensitive information and streamlining user role management.

  6. 6
    Article
    Avatar of asayerasayer·2y

    API Gateway Patterns and Practices

    API gateways consolidate and manage incoming client requests to various backend services, handling tasks such as routing, rate limiting, authentication, and monitoring. They simplify front-end integration with backend services, optimize performance through caching and load balancing, and enhance security by centralizing authentication and authorization. Common patterns include Backends for Front-ends (BFF), API Gateway Aggregation, and Circuit Breaker for resilience. Best practices involve scalability consideration, implementing security measures like JWT authentication, caching strategies, and comprehensive logging and monitoring.

  7. 7
    Video
    Avatar of an0n_aliAn0n Ali·2y

    Python Basics for HACKERS!

    Learning Python basics can significantly enhance your hacking skills by helping you create or modify tools to exploit vulnerabilities. Instead of mastering the entire language, focus on understanding variables, loops, and classes to troubleshoot and adjust code effectively. For learning, free online courses or structured platforms like Codecademy are highly recommended.

  8. 8
    Article
    Avatar of neontechNeon·1y

    WTF Are JWTs?

    JSON Web Tokens (JWTs) are compact, self-contained tokens used for transmitting information securely. They emerged as a solution to the limitations of session-based authentication, offering stateless authentication, cross-domain compatibility, scalability, and security. JWTs are commonly used in modern web applications, especially with services like Neon Authorize, to manage authorization at the database level through row-level security. The process includes signing the tokens to ensure authenticity, though they are not encrypted by default.

  9. 9
    Article
    Avatar of itsfossIt's Foss·2y

    9 Things I Do to Improve My Linux Computer's Security

    Enhancing your Linux computer's security is essential as it can still be vulnerable despite being perceived as secure. Key practices include: encrypting the disk during installation, regularly updating the system for latest security patches, monitoring system logs and network activity, installing software from trusted sources, using encrypted DNS, disabling root login, setting up a firewall, maintaining proper data backups, and setting strong authentication. By following these steps, you can significantly improve your system's protection against potential threats.

  10. 10
    Article
    Avatar of misfitsdevelopersMisfits Developers·1y

    Hackers breach Andrew Tate’s online university, leak data on 800,000 users

    Hackers have breached The Real World, an online course founded by controversial influencer Andrew Tate, exposing data on nearly 800,000 users, including 325,000 unique email addresses and chat logs from over 600 servers. The attackers, motivated by hacktivism, criticized the platform's poor security. The breach underscores significant concerns about user privacy and security on such platforms.

  11. 11
    Article
    Avatar of hnHacker News·2y

    An analysis of the Keycloak authentication system

    Keycloak, an open-source identity and access management solution, has been found to have several security issues, including OTP bypass vulnerabilities, unauthorized access to certain administrative functionalities, and race conditions in the anti-brute-force mechanism. These issues allow attackers to bypass multi-factor authentication, gain unauthorized access to privileged operations, and perform excessive login attempts. Communication with security teams revealed delayed fixes and inadequate advisories, highlighting a need for more timely and transparent responses to such critical issues.

  12. 12
    Article
    Avatar of hnHacker News·2y

    Writing secure Go code

    Keeping Go code secure involves steps such as subscribing to the Go mailing list for critical updates, keeping Go versions up to date to apply security patches, and using tools like 'go vet', 'staticcheck', 'golangci-lint', and 'govulncheck' to analyze code quality and security. Additionally, checking for race conditions using the '-race' flag, scanning for vulnerabilities with 'govulncheck', and employing fuzz testing are crucial practices. These methods help maintain robust and secure code while ensuring compatibility and addressing potential issues.

  13. 13
    Article
    Avatar of christianheilmannChristian Heilmann·2y

    What’s your excuse for not using the web share API?

    The Web Share API offers an easy way to enable sharing functionality on websites without relying on traditional 'share on' buttons that can have security concerns and may spy on users. The API allows users to choose their preferred sharing method, enhancing the user experience.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Useful Nmap Scripts for Ethical Hackers

    Nmap, an open-source Linux command-line tool, is widely used for scanning IP addresses and ports in a network to identify running devices, discover open ports and services, and detect vulnerabilities. This post explains the Nmap Scripting Engine (NSE) and various useful scripts, such as `http-enum`, `smb-os-discovery`, `http-headers`, `ssh-brute`, and `dns-brute`. These scripts enhance the ability to perform detailed network scans and gather specific information, providing a powerful way to audit, troubleshoot, and secure networks.

  15. 15
    Video
    Avatar of fireshipFireship·1y

    D-Link says “just buy a new router” after 9.8 critical vulnerability…

    D-Link has announced that a critical 9.8 vulnerability affecting its NAS and router devices will not be fixed due to the devices reaching their end-of-life. This exposes users to potential remote code execution and security breaches. The company recommends purchasing new devices instead. The post also highlights the broader industry practice of planned obsolescence and provides an ethical hacking overview for educational purposes.

  16. 16
    Article
    Avatar of hnHacker News·2y

    google/go-safeweb: Secure-by-default HTTP servers in Go.

    The `go-safeweb` library collection aims to create secure-by-default HTTP servers in Go. It addresses issues like XSS, XSRF, CORS, CSP, transport security, and access control through built-in mechanisms. The emphasis is on security with minimal intrusion into existing Go standard library APIs, aiming for easy adoption and high compatibility.

  17. 17
    Article
    Avatar of communityCommunity Picks·2y

    Laravel Advanced Problem-Solving Quiz

    Challenge your Laravel development skills with an advanced quiz designed for senior developers and tech leads. This quiz covers crucial areas including performance optimization, scaling strategies, security best practices, and architectural patterns in enterprise Laravel applications.

  18. 18
    Article
    Avatar of theregisterThe Register·2y

    Torvalds patch improves Linux performance by 2.6%

    A small but significant code change by Linus Torvalds has improved Linux's multithreaded performance by 2.6%. The patch addresses security vulnerabilities linked to Meltdown and Spectre by avoiding the barrier_nospec() API, which prevents speculative execution. Instead, it uses pointer masking for enhanced performance without compromising security. This tweak demonstrates Torvalds's deep technical expertise and ongoing contribution to Linux development.

  19. 19
    Article
    Avatar of devblogsDevBlogs·2y

    What’s new in the Windows Subsystem for Linux in November 2024

    The latest updates to the Windows Subsystem for Linux (WSL) include new enterprise security features and the availability of Red Hat Enterprise Linux as an official WSL distro. Additionally, a new tar-based architecture for creating and distributing WSL distros makes installations easier and more flexible. Enhancements also include Intune and Entra ID integrations for improved security. A new getting started experience aims to help new users understand and utilize WSL more effectively.

  20. 20
    Article
    Avatar of devsquadDev Squad·2y

    How DNS works. What is DNS?

    DNS, or Domain Name System, is critical for translating human-readable domain names into IP addresses that computers use to identify each other on the network. Understanding how DNS works can help improve internet speed and security.

  21. 21
    Article
    Avatar of cerbosCerbos·2y

    Access control for RAG and LLMs - live demo

    As more businesses adopt Retrieval Augmented Generation (RAG) models to enhance their AI systems, managing access control becomes crucial. The live demo by Alex Olivier illustrated how Cerbos PDP can implement authorization in RAG architectures. Key challenges include unauthorized data exposure and the need for dynamic data access. Cerbos provides context-aware authorization decisions, safeguarding sensitive data and ensuring compliance.

  22. 22
    Article
    Avatar of francofernandoThe Polymathic Engineer·2y

    The fallacies of distributed systems

    This post discusses the eight commonly overlooked fallacies of distributed systems identified by Peter Deutsch and others at Sun Microsystems. These fallacies include the reliability of networks, latency, bandwidth limitations, network security, dynamic network topology, multiple administrators, transport costs, and network heterogeneity. Understanding and mitigating these assumptions are crucial in designing robust distributed systems. Several strategies such as retransmission mechanisms, caching, data compression, and security measures are recommended to tackle these issues.

  23. 23
    Article
    Avatar of cerbosCerbos·1y

    Why external authorization is essential for modern software architecture

    External authorization decouples access control logic from application code by delegating decisions to a centrally managed service within your infrastructure. This approach is particularly valuable during transitions from monolith to microservices architectures but is also beneficial for established systems. It ensures consistent, manageable, and scalable authorization policies, improves security, and facilitates compliance and auditing. Implementing it can be done incrementally, reducing disruption and complexity.

  24. 24
    Article
    Avatar of cerbosCerbos·2y

    Implementing authorization in RAG-based AI systems with Cerbos

    Cerbos introduces a new access control feature for Retrieval Augmented Generation (RAG) and Large Language Models (LLMs), helping software builders secure their AI applications. This solution addresses the challenge of providing AI models with context while ensuring privacy and authorization policies are not violated. Cerbos' functionality applies row-level data filtering before data is passed to the LLM, ensuring responses are tailored to user access privileges. It reconciles the need for vast data access in AI with the Zero Trust principle of least privilege access.

  25. 25
    Article
    Avatar of socketdevSocket·1y

    Tech's $90B Ghost Engineer Problem: Stanford Study Finds 9.5...

    A recent Stanford study has revealed that approximately 9.5% of engineers in tech companies, termed 'ghost engineers,' do minimal work while earning high salaries. This issue is more prevalent among remote workers. The economic impact is significant, with companies potentially saving billions by addressing this inefficiency. Moreover, ghost engineers pose security risks due to unreviewed code and outdated systems. The challenge highlights systemic inefficiencies in talent management and performance evaluation, raising questions about the effectiveness of remote work policies.