Mariam Reba Alexander

@mariamrebaalexander

340 Points

2 Followers

7 Posts

0 Answers

Joined July 5th, 2021

I am a frontend developer working at Maersk. Keen to learn and do some exciting or experimental projects. I specialise in finding & fixing issues and bugs, refactoring and perfecting code & preventing bugs through test driven development.

Cross-site scripting (XSS) attack - part 3

Cross-site scripting (XSS) attack - part 3

By now you have an understanding of Stored XSS attack and Reflected XSS attack, and some measures to prevent it. Now we will look into the last type of XSS attack, DOM based XSS attack. In the end, I will conclude with best practices to follow, testing XSS and references for reading. 3.DOM based Cross-site scripting The differen...
4
Select One:
Cross-site scripting (XSS) attacks - part 2

Cross-site scripting (XSS) attacks - part 2

In the last post I went through what is Cross-site scripting and Stored XSS attack, a type of cross-site scripting caused by stored javascript in database from user inputs. If you haven't read it, here is the link. As frontend developers we are constantly adding and releasing new features or fixing bugs as per business requirem...
4
Select One:
Cross-site scripting (XSS) attacks - part 1

Cross-site scripting (XSS) attacks - part 1

As frontend developers we are constantly adding and releasing new features or fixing bugs as per business requirements, and it's hard to keep vigilance on the security side of things. It has become a secondary concern and we are far behind the backend and Devops engineers for whom this is a primary and regular part of their thin...
7
Select One:
Break and continue in Javascript

Break and continue in Javascript

You would have probably used break or continue in your javascript code at least once. Break and continue in javascript are known as jump statements. Let's look into both the statements. break The break statement causes the innermost enclosing loop or switch statement to exit immediately. You would be already familiar how break w...
6
Select One:
Checks and String comparison in Javascript

Checks and String comparison in Javascript

Here are some javascript tips on property check, string comparison & check for defined that you can use in your code. Property check We know that the method hasOwnProperty() can be used for checking whether a property exists in an object like the code below. let object = { x: 1, y: 2 }; console.log(object.hasOwnProperty(&quo...
Select One:
What you may not know about loops in JS - part 2 - for/of , for/in

What you may not know about loops in JS - part 2 - for/of , for/in

In the last post part 1 - for loop, I described how for loop works and shared some common and rare examples of it. Now let's look into the other types of loop: for/of and for/in loops. for/of The for/of loop is fairly new defined by ES6 and is completely different from for loop. This loop can be used for iterable objects (eg. ar...
1
Select One:
What you may not know about loops in JS - part 1 - for loop

What you may not know about loops in JS - part 1 - for loop

You may have used for loop, for/of and for/in a million times on your code and you probably know by now that it is used for iterating an array or object keys (or values) and execute some code within the looping statements. Javascript has five looping statements: while, do/while, for, for/of (and its for/await variant), and for/i...
5
Select One:

Loading More Content