ACM Home Page
Please provide us with feedback. Feedback
Static approximation of dynamically generated Web pages
Full text PdfPdf (177 KB)
Source International World Wide Web Conference archive
Proceedings of the 14th international conference on World Wide Web table of contents
Chiba, Japan
SESSION: Trustworthy Web sites table of contents
Pages: 432 - 441  
Year of Publication: 2005
ISBN:1-59593-046-9
Author
Yasuhiko Minamide  University of Tsukuba, Tsukuba, Japan
Sponsor
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 19,   Downloads (12 Months): 106,   Citation Count: 17
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1060745.1060809
What is a DOI?

ABSTRACT

Server-side programming is one of the key technologies that support today's WWW environment. It makes it possible to generate Web pages dynamically according to a user's request and to customize pages for each user. However, the flexibility obtained by server-side programming makes it much harder to guarantee validity and security of dynamically generated pages.To check statically the properties of Web pages generated dynamically by a server-side program, we develop a static program analysis that approximates the string output of a program with a context-free grammar. The approximation obtained by the analyzer can be used to check various properties of a server-side program and the pages it generates.To demonstrate the effectiveness of the analysis, we have implemented a string analyzer for the server-side scripting language PHP. The analyzer is successfully applied to publicly available PHP programs to detect cross-site scripting vulnerabilities and to validate pages they generate dynamically.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
M. Achour, F. Betz, et~al. PHP Manual, 2005. http://www.php.net/docs.php.
2
3
 
4
J. Berstel. Transductions and Context-Free Languages. Teubner Studienbucher, 1979.
5
6
 
7
A. S. Christensen, A. Moller, and M. I. Schwartzbach. Precise analysis of string expressions. In Proceedings of the Static Analysis Symposium (SAS), volume 2694 of LNCS, pages 1--18, 2003.
8
9
 
10
11
12
 
13
D. A. Ladd and J. C. Ramming. Programming the Web: An application-oriented language for hypermedia service programming. In Proceedings of the 4th International World Wide Web Conference, 1995.
 
14
X. Leroy. The Objective Caml system release 3.08: Documentation and user's manual, 2004. http://caml.inria.fr/index-eng.html.
 
15
 
16
M. Mohri and M.-J. Nederhof. Regular approximation of context-free grammars through transformation. In Robustness in Language and Speech Technology, pages 153--163, 2001.
 
17
 
18
 
19
 
20
L. Quinn. WDG HTML validator. http://www.htmlhelp.com/tools/validator/.
 
21
T. Reps. Program analysis via graph reachability. Information and Software Technology, 40(11--12):701--726, 2000.
22
 
23
N. Tabuchi, E. Sumii, and A. Yonezawa. Regular expression types for strings in a text processing language. In Proceedings of International Workshop on Types in Programming, ENTCS 75, 2002.
24
 
25
The W3C markup validation service. http://validator.w3.org/.
 
26

CITED BY  17