Input validation issues - Part 2
Description :
Because Web Content that can have HTML and JavaScript
Improper use might to be web security problem occurred
such as insert Javascript Command.
Basic recomment :
- use method : setJavaScriptEnabled(); protect cross-site scripting
- recommend exposing only Javascript contained in your application.
method : addJavaScriptInterface();
- If your application access sensitive information
to consider use remove files that store specific place.
for example, to indicate that application not should cache particular content.
use : method clearCache();
( clearCache(); will to do clear all cache of used )
ความคิดเห็น
แสดงความคิดเห็น