Do you test your APIs with Postman? It seems that lot of postman users manually create their JWT tokens by visiting jwt.io since postman does not provide JWT signing out-of-the-box. I tried it a few times too, this would be manageable if your tokens do not expire quickly, but since my tokens were expiring within an hour I was fed up very quickly . Hence began the search for a way to auto-generate the JWT token and embed it in the request so I won’t have to do it ever again.
Postman pre-request script were the obvious way to go…
Recently I had a requirement to implementing global rate limiting for a Kubernetes deployment on a production system. By doing some RnD and on this resulted in almost no results. There were many solutions like Azure WAF which provides rate limiting, but all of them were Per Client Rate Limiting which means any of the rules we apply will get applied to single clients which is one way to do rate limiting, but we needed global rate-limiting as well.
As it turns out, the most famous way of doing rate limiting was Per Client Rate Limiting. According to Azure support…
For the last few months I’ve been working with Azure WAF and I am sad to say it has a lot of limitations. The more disappointing part is their support is not aware of what it cannot do. I had to engage in long support threads to show its issues and prove that it doesn’t have those features when their documentation almost all the said it can. So I am writing this blog to help a fellow colleague to skip these long support threads about incorrect documentation and lack of information.
You always protect your endpoints from DoS/DDoS attacks using…
Let’s start off with an intro to the ScholarX program.
Founded by Sustainable Education Foundation, ScholarX is a 6-month program for Sri-Lankan undergraduates who would like to get free premium mentoring during their study period
As it says ScholarX is a program where the Sri Lankan students get to engage in a great mentoring program with top notch mentors. Each student gets a mentor to him/herself for the duration of the program. The program happens yearly and I was able to get selected as a mentee for the year 2021.
One thing I wasn’t clear of until the program started…
Web Application Firewall commonly known as WAF is one of the first lines of defense in protecting your web application from malicious attacks.There are 2 types of rules that are supported by Azure WAF.
I got this question from a lot of people in the last few weeks and so I thought to write a blog post about it so that all the interested students can use get to know this information.
If you are here I assume that you have a pretty good idea about what GSoC is, and if you don’t, please check my post on Intro to Google Summer of Code
This blog post contains the content of a guest session i did for IEEE CS Club of University of Moratuwa on “Introduction to Google Summer of Code”. The slide set can be found here at https://www.slideshare.net/KalanaWijethunga1/what-is-google-summer-of-code
I’ll share my proposal soon on a separate blog post
Google Summer of Code is a
Students engage in a 10 week long programming project with an open source organization during their summer break.
16000+ students from 111+ countries have contributed 38Mn+ code to GSoC so far
Today when I opened WhatsApp a new bunch of terms and conditions appeared across my screen. I was in a hurry for something else and I just accepted it and moved on. I only realised the danger of that action later on when one of my friends told me about what’s in the new terms and conditions.
So the most alarming point is how WhatsApp partner with Facebook to offer “integrations across the Facebook company products”. Up until recently, the users loved WhatsApp especially due to its simplicity and lack of nuisances like ads. All these advantages were there because…
Recent Netflix documentaries “The Social Dilemma” and “The Great Hack” got me thinking about the dark side of the social media once again. From how I see it, the major issue with social media is the unawareness among the people about what is a happening under the hood. But sometimes the rather unsettling fact is that some of us already know this and we choose to ignore it anyway. So I thought it is my duty as a software engineering undergrad and a tech blogger to make people aware of this.
I think most of you are already aware that…
Since my articles on Git Rebase seem to be grabbing a lot of attention since the day 1, I thought of writing another article on Git Merge. If you don’t know how to rebase in Git, please check my last article on Git Rebase.
Merge is a command used in Git to move the changes in branch to another. Usually, the new features are developed in the dev branch and merged into the master branch after finishing the development. All the changes in the dev branch is added to the master branch on the merge. …