Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exam objective 2.1

 
Lakshmi Saradha
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The objective says .."Construct the file and dir structure of a web application containing static content , jsp etc.......and describe how to protect resouce files from HTTP access".
Can anybody throw light on the last line?(describe how to protect resouce files from HTTP access).
 
Yi Meng
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lakshmi Saradha:
Hi,
The objective says .."Construct the file and dir structure of a web application containing static content , jsp etc.......and describe how to protect resouce files from HTTP access".
Can anybody throw light on the last line?(describe how to protect resouce files from HTTP access).

To my understanding, it means that you have to put someting under the /WEB-INF/ folder so that clients cannot gain direct access to there resources, basically jsp files if/when necessary. Correct me if i am wrong....
 
Vijay S. Rathore
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Absolutely right. It means you should be clear about so called 'document-root' and 'context-root' or 'app-root'
 
Vipin Mohan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the above point the only one regarding this objective ? Or is there anything more we need to know about protecting resource files from HTTP access ?

Thanks
Vipin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic