FIDO2 and WebAuthn: Ensuring Secure User Authentication
Open Source For You|September 2024
In today's digital landscape, securing online identities is more crucial than ever. Traditional passwords are no longer sufficient to protect sensitive information, which is where advanced passwordless authentication mechanisms like FIDO2 and WebAuthn come into play. These technologies offer a powerful solution for secure user authentication in a browser-based environment.
Aditya Mitra and Anisha Ghosh
FIDO2 and WebAuthn: Ensuring Secure User Authentication

IDO2, combined with WebAuthn, uses a challenge-response mechanism to authenticate users. This process involves a series of cryptographic requests and responses, ensuring that only the rightful users can access their account. Here’s a simplified look at how this works.

A user signs up on a web scanner and a security key, such as a USB device or a biometric scanner, and enters a PIN for verification. This setup process ensures that only the user can authenticate himself/herself in the future. This mechanism is not just limited to personal accounts but is also integrated into enterprise solutions. For instance, Microsoft’s cloud services, including Active Directory and Entra, utilise security keys as a secure method for users to sign in. Microsoft Entra is a cloud based identity and access management (IAM) solution for an organisation. It keeps a record of the roles and responsibilities of its members with the help of their ID known as Entra ID.

How data is managed

All information related to Entra ID is securely stored in Microsoft Graph, a platform that requires Graph API calls to perform various operations. Graph API is an HTTPbased API that apps can use to programmatically query data and perform a wide variety of other tasks. Typically, these operations are carried out through a user-friendly graphical interface. However, for developers and IT administrators, understanding the behind-the-scenes mechanics of these API calls is essential.

Accessing the Graph API

There are two primary methods to access the Graph API.

Delegated permissions: This method allows an application to access the API on behalf of the signed-in user. It’s particularly useful when the application needs to perform actions as the user.

This story is from the {{IssueName}} edition of {{MagazineName}}.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

This story is from the {{IssueName}} edition of {{MagazineName}}.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

MORE STORIES FROM OPEN SOURCE FOR YOUView all
Helgrind: Detecting Synchronisation Issues in Multithreaded Programs
Open Source For You

Helgrind: Detecting Synchronisation Issues in Multithreaded Programs

Let's explore how Helgrind can be used to detect and debug multithreading issues with the help of a multithreaded C program.

time-read
3 mins  |
November 2024
The Perfect Process of Booting a PC
Open Source For You

The Perfect Process of Booting a PC

Booting a PC seems as simple as eating a cake. But are you aware of all that goes on behind-the-scenes to bake a delicious cake or seamlessly boot a PC?

time-read
3 mins  |
November 2024
Exploring eBPF and its Integration with Kubernetes
Open Source For You

Exploring eBPF and its Integration with Kubernetes

eBPF, a game-changing technology that extends the capabilities of the Linux kernel, offers significant advantages for Kubernetes networking. It also greatly improves Kubernetes observability by capturing detailed telemetry data directly from the kernel. Read on to find out how its integration with Kubernetes has immense benefits.

time-read
5 mins  |
November 2024
Deploying Generative AI LLMs on Docker
Open Source For You

Deploying Generative AI LLMs on Docker

Built on massive datasets, large language models or LLMS are closely associated with generative Al. Integrating these models with Docker has quite a few advantages.

time-read
8 mins  |
November 2024
Containerisation: The Cornerstone of Multi-Cloud and Hybrid Cloud Success
Open Source For You

Containerisation: The Cornerstone of Multi-Cloud and Hybrid Cloud Success

Open source containerisation software provides the flexibility, cost-effectiveness, and community support needed to build and manage complex multi-cloud and hybrid cloud environments. By leveraging this software, businesses can unlock the full potential of multicloud and hybrid cloud architectures while minimising vendor lock-in risks.

time-read
3 mins  |
November 2024
From Virtual Machines to Docker Containers: The Evolution of Software Development
Open Source For You

From Virtual Machines to Docker Containers: The Evolution of Software Development

Containerisation and Kubernetes have eased software development, making it faster and better. Let's see where these are headed, looking at trends that are making life easier for developers.

time-read
10+ mins  |
November 2024
India's Leap in Supercomputing: Innovating for Tomorrow
Open Source For You

India's Leap in Supercomputing: Innovating for Tomorrow

As India strides towards self-sufficiency in supercomputing, embracing this evolution isn't just an option-it is pivotal for global competitiveness and technological leadership.

time-read
5 mins  |
November 2024
SageMath: A Quick Introduction to Cybersecurity
Open Source For You

SageMath: A Quick Introduction to Cybersecurity

In the previous articles in this SageMath series, we delved into graph theory and explored its applications using SageMath. In this seventh article in the series, it is time to shift our focus to another crucial subfield of computer science: cybersecurity and cryptography.

time-read
10+ mins  |
November 2024
Efficient Prompt Engineering: Getting the Right Answers
Open Source For You

Efficient Prompt Engineering: Getting the Right Answers

OpenAl's GPT-3 and GPT-4 are powerful tools that can generate human-like text, answer questions, and provide insights. However, the quality of these outputs depends heavily on how you frame the input, or prompt. Efficient prompt engineering ensures you get the right answers by designing inputs that guide the AI towards relevant, clear, and useful responses. Let's find out how to craft effective prompts with examples.

time-read
4 mins  |
November 2024
Analysing Linus Torvald's Critique of Docker
Open Source For You

Analysing Linus Torvald's Critique of Docker

This article looks at Docker's security flaws, particularly its shared-kernel model, and contrasts it with traditional VMs for better isolation. It discusses Linus Torvalds' concerns, explores mitigation techniques, and proposes a roadmap for building a more secure containerisation platform using hardware-assisted virtualisation, true isolation, and a robust orchestration layer.

time-read
8 mins  |
November 2024