With the increasing number of threats, the stability of the authentication mechanism has become vital for all applications. However, choosing one isn’t easy since there are many methods with different capabilities.
So, in this article, I will discuss the features, pros, cons and compare token-based authentication vs. cookie-based authentication to help you decide the best approach for your project.
Authentication is the process of exchanging user credentials for a piece of unique identification.
In cookie-based authentication, this unique identifier (cookie) is created on the server-side and sent to the browser.
When you log in to a web application, your browser…
IAM is the Identity and Access Management service provided by AWS. It provides you with a variety of options to manage users and secure your account.
But, most developers do not get the maximum out of it since they are not aware of all the features of IAM.
So, In this article, I will discuss how to use IAM groups, policies, permissions, and multi-factor authentication to secure your account.
In AWS, there are 2 types of users. The first user type is the Root User, and this user account is automatically created when you create an AWS account.
With modern web applications, managing database connections have become a challenging task for developers. Especially when it comes to serverless and Lambda functions, we should be careful not to overwhelm database instances.
So, in this article, I will discuss how we can use AWS RDS Proxy, a fully managed, highly available database proxy provided by AWS to manage AWS relational databases.
Before getting into details about RDS Proxy, let’s see why we need such services.
If we consider a traditional web application, it has a limited number of database connections, and they share connections among multiple requests. …
AWS Lambda is one of the most used AWS services around the world. Its automatic scaling behavior and cost-effective on-demand invoking mechanism have made it even more popular.
However, Lambda functions take significant time to get started initially, and this directly impacts application performance.
This behavior is known as cold starts, and in this article, I will discuss 2 methods to overcome this problem, and you can choose one based on your requirements and cost.
The first method to prevent cold-starts is using a CloudWatch event rule and scheduled event to ping the Lambda function regularly.
So, in this article, I will discuss the technology behind these performance gains, and what’s you should know about to write better-performing code.
Today, AWS has become the most used cloud service provider among developers. Although there are many reasons behind that, its global infrastructure is the most prominent reason for this success.
Currently, AWS services are available in 25 different regions with 80+ availability zones and 200+ edge locations.
So, in this article, I will discuss the global infrastructure of AWS and what we should consider when selecting an AWS region.
Amazon Simple Queue Service (SQS) is a fully managed message queueing service that allows you to decouple your applications. It helps you improve your applications’ performance and user experience by allowing you to communicate asynchronously between client and server.
So, in this article, I will discuss how AWS SQS changes the traditional request handling process and guide you through the steps to create a simple queue.
If we consider a normal request handling process of a web application, we can divide it into 3 parts.
However, these functions differ in many significant ways, and we can’t replace one with another.
So in this article, I will explore 5 of these key differences in detail.
In regular function,
thischanges according to the way that function is invoked.
It is always a good practice to maintain separate environments for development, testing, and production as a developer. This allows you to identify the issues in your products before releasing and increasing your product's reliability.
But it is not an easy task, it requires separate builds and deployments which takes significant time and effort.
So, this article will show you how you can build and deploy your application to all environments within few minutes using AWS AMplify.
AWS Amplify provides you a collection of tools and products to optimize your web and mobile development experience.
It allows to develop, build…
AWS S3 buckets are one of the most used storage services in the world. Developers use it to upload images, audio, and various files and use them in their web applications.
Most developers make these bucket contents publicly available by using a bucket policy. However, this approach is not recommended by AWS due to security reasons.
So, how can we securely share the content with others who don't have access to our S3 buckets?
S3 pre-signed URLs are the most recommended way to share your S3 bucket contents, and this article will discuss all the things you need to know…