Add office photos
Engaged Employer

Ernst & Young

3.4
based on 10.6k Reviews
Video summary
Filter interviews by

Parag Dairy Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. What are the security headers used in an application?

Ans.

Security headers are used to enhance the security of web applications by providing additional protection against attacks.

  • Common security headers include Content-Security-Policy (CSP), X-XSS-Protection, X-Content-Type-Options, X-Frame-Options, and Strict-Transport-Security (HSTS)

  • CSP helps prevent cross-site scripting (XSS) attacks by specifying which sources of content are allowed to be loaded

  • X-XSS-Protection helps prevent XSS attacks by enabling the browser's built-in XSS pro...read more

Add your answer

Q2. What is httpsOnly and secure flag is used for?

Ans.

httpsOnly and secure flag are used for securing web traffic and preventing attacks.

  • httpsOnly ensures that all traffic to a website is encrypted and cannot be intercepted by attackers.

  • Secure flag ensures that cookies are only sent over encrypted connections, preventing session hijacking attacks.

  • Both are important security measures for protecting sensitive information and preventing attacks.

  • Examples of websites that use httpsOnly and secure flag include online banking and e-com...read more

Add your answer

Q3. What is xss and how it's can be exploited?

Ans.

XSS is a type of web vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

  • XSS stands for Cross-Site Scripting.

  • Attackers can exploit XSS vulnerabilities by injecting malicious scripts into web pages viewed by other users.

  • These scripts can steal sensitive information, such as login credentials or personal data, from the victim's browser.

  • XSS attacks can be prevented by properly sanitizing user input and encoding output.

  • There are th...read more

Add your answer

Q4. What is sast and dast and why it is performed?

Ans.

SAST and DAST are security testing techniques used to identify vulnerabilities in software applications.

  • SAST (Static Application Security Testing) is performed on the source code of an application to identify security vulnerabilities before the application is compiled and deployed.

  • DAST (Dynamic Application Security Testing) is performed on a running application to identify vulnerabilities in real-time.

  • SAST is useful for identifying vulnerabilities early in the development pro...read more

Add your answer
Discover Parag Dairy interview dos and don'ts from real experiences

Q5. What is csrf and how it can be exploited?

Ans.

CSRF is a type of attack where a malicious website tricks a user into performing an action on a different website.

  • CSRF stands for Cross-Site Request Forgery

  • It can be exploited by tricking a user into clicking a link or button on a malicious website that sends a request to a different website where the user is logged in

  • The request can perform actions on behalf of the user without their knowledge or consent

  • To prevent CSRF, websites can use tokens to verify that the request is c...read more

Add your answer

Q6. How cache control is implemented?

Ans.

Cache control is implemented through HTTP headers to specify how long a resource should be cached.

  • Cache-Control header is used to specify caching directives

  • Expires header is used to specify an expiration date for the resource

  • Max-Age header is used to specify the maximum age of the resource in seconds

  • Pragma header is used for backwards compatibility with HTTP/1.0

  • Examples: Cache-Control: max-age=3600, Expires: Wed, 21 Oct 2020 07:28:00 GMT

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter