Updating web page content and submitting data without the need for web page reloading. Validating submitted texts before sending them to the web server. Animating web page elements. Providing interactive content in web pages like games and videos. And much more!
At the risk of being repetitive, our browsers will run scripts retrieved from foreign web servers, and therefore it’s only logical that there should be restrictions in the web browser to rule how these scripts will run. Two popular restrictions implemented in most web browsers are sandboxes and same-origin policy. With sandboxes, a script will run in a sandbox in which it’s given limited privileges and resources. This means scripts won’t be able to run “outside” the web browser, and thus can’t do general purpose operations, e.g. create or access local files in the client’s machine. In same-origin policy, scripts from a certain website can’t access information stored by other websites.
Cross-site Scripting (XSS)
Browser type and version, as well as its settings. Screen resolution. Available fonts. Installed browser plugins and extensions. And the list can go on much more.
Do you find this content interesting?
Let us know by leaving a comment and a rating.
Also, don't forget to follow our Official Telegram Channel to stay informed and safe by Reading NOIRdotNEWS