The most important protection when coding a website. #Cross Site Scripting(XSS)
The internet is based on a markup language called HTML which is responsible for displaying virually everything on it. But because just beeing able to put graphics, texts and links on your site would be pretty lame, so for interactivity sake javascript was created, and with it one of the biggest vulnerabilities in the coding world. Cross Site Scripting.
What is it?
Cross Site Scripting is the easiest way to break/hack any website. It works by just putting any kind of javacode script into any textbox on a website and seeing if it will execute and if it does the options are limitless.
How does it work?
Cross Site Scripting works if a web developer did a mistake and forgot to turn any < symbol into < the lt in this case stands for less than and if this isn't written down for every text box on your site, people can easily do just about anything on your site from making everything bold to dumping user data. An legal example for testing it would be to put something like this in an input field :
<script>alert('test');</script>
If this makes a text box pop up the developer made a mistake and you should inform him about it, if you continue doing such stuff to the website you might get in trouble. But if you inform him, you should not bother asking him if he'd give you a finders reward. As this could easily create a lot of trouble .
Conclusion
So, what do we learn from this? Be careful of how you code your websites dont forget these : < and if you want to make a few bucks try finding mistakes on other sites (it doesn't work on steemit)
Image Source
Leave The most important protection when coding a website. #Cross Site Scripting(XSS) to:
Read more #programming posts
Best Posts From uncontinued account
We have not curated any of codingnick's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From uncontinued account
- How Tor / the "Dark - Net" works and why you should care
- Steganographie Erklährung
- Playing Kerbal Space Programm
- Why I play Kerbal Space programm(from a programmers perspective)
- How to choose a secure Password(English Version)
- Wie man sich für ein gutes Passwort entscheidet(German Version)
- Why working with Time (Zones) is your biggest Enemy as a Programmer
- The most common interview question for programmers[English/German]
- Corrupting software by changing its bits
- Why crypto gets more and more popular (how to make better code)
- Why Computer Bugs are one of the most dangerous things on earth
- How 2FA Works(Two Factor Authentification)
- How to make Money as a programmer
- Game Programming Challenges
- The best ways to collect your (coding) ideas
- How variables work(The legend of Zelda for NES as example)
- How to come up with programming ideas
- The danger of man in the middle attacks and the green padlock in your browser
- The most important protection when coding a website. #Cross Site Scripting(XSS)
- How to make your posts look better with simple coding