interview
do u know any attacks? and the mitigation? XSS persistent XSS: upload malicious code in the database, like the comment box or profile. reflected XSS: send a URI with malicious script to the victim Dom-based XSS: change the element of the DOM, it happend at the browser, the client mitigation: CSP, filter or encode the special characters, when the XSS has been executed, we can also set http-only to avoid cookie being stolen phishing: spoofing an email or message or dicrect users to enter personal information at fake website. mitigation: firewall, update the latest browser, use google or other trust-worthy browser. install antivirus software. CSRF: make the victim to submit a crafeted web request. forge a URI , crafted image tags, hidden forms, and JavaScript XMLHttpRequests. mitigation: CSRF token, check the referer to ensure the source website. Unlike cross-site scripting (XSS), which exploits the trust a user has for a particular site, CSRF exp...