The BEST methods for a web developer to prevent the website application code from being vulnerable to cross-site request forgery (XSRF) are to:
A. permit redirection to Internet-facing web URLs.
B. ensure all HTML tags are enclosed in angle brackets, e.g., "<" and ">".
C. validate and filter input on the server side and client side.
D. use a web proxy to pass website requests between the user and the application.
E. restrict and sanitize use of special characters in input and URLs.
Answer:
C. validate and filter input on the server side and client side.
E. restrict and sanitize use of special characters in input and URLs.
You might also like to view...
Adding sounds to your Flash documents can significantly increase the overall size of the published files and will, therefore, affect their download time.
Answer the following statement true (T) or false (F)
Which of the following is a term used to group together the physical and data link layers?
a. Internetwork layers b. Hardware layers c. Software layers d. Middleware layers e. Application layers
A(n) ____________________ is a way to prepare for a certification exam that uses materials in book format that readers can complete at their own pace.
Fill in the blank(s) with the appropriate word(s).
What design tool shows the potential flow of control within a program?
a) system flowchart b) structure chart c) organizational chart d) all of the above