Web Development Interview Question/ Answers Set – 2
Cross-Origin Resource Sharing (CORS) is a browser mechanism that allows controlled access to resources located outside of a given domain. It enables a web page from one domain to access a resource with a different domain (a cross-domain request). It is a relaxation of the same-origin policy implemented in modern browsers.
Cross-site scripting (XSS) is a security exploit that enables an attacker to introduce malicious client-side code into a website. When the untrusted links are unintentionally clicked by the victims, the cookies information is passed to the attackers so that they can bypass access controls.
- Your website/application should be running 24×7.
- It should handle multiple user access load during peak time or season.
- It should be user friendly, easy to navigate all features that the visitor is looking for.
- Should have engaging videos to introduce your product features.
- The website should be searched from search engines based on keywords entered.
- The website should be integrated with a payment gateway with all possible alternatives for transactions and user data should be secured while accessing.
- AVI by Microsoft
- FLV Adobe flash video player
- WMV supported by Windows media player
- MOV by QuickTime player
- MP4 supported by mobiles and other platforms
. AJAX updates section of page contents, without reloading the entire page. This feature is essential when user needs fast results, without any delay of waiting for the request sent by clicking the submit button and waiting for the response. The server load can be reduced by applying AJAX with less number of requests which saves bandwidth.