• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

question regarding security

 
Ranch Hand
Posts: 98
MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I am confused with the answer to this question.
What would be the correct answer .
Please explain.

An application receives an XML document as an input from different source and validates. To improve the performance of the application which of the following steps can be eliminated?
Choose one answer.
a. Documents exchanged within the components of the system may not require validation.
b. Documents coming from outside the system, especially when they do not originate from external trusted sources, must be validated on entry.
c. Documents coming from outside the system, once validated, may be exchanged freely between internal components without further validation.
d. Documents exchanged within the components of the system require validation.

Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please QuoteYourSources.

What do you think the correct answer is, and why?
 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My answer is d.Documents exchanged within the components of the system require validation.

please refer the section 4.3.3 Validating XML Documents in Designing Web Services - Java Blue Print

Thanks,
Deepak.
reply
    Bookmark Topic Watch Topic
  • New Topic