HTTP Web Web RFC2616 HTTP/1.1 Web Apache Tomcat (Servlet ) XML Xindice Tomcat 6-2



Similar documents
¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ

第2回_416.ppt

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ

Copyright 2006 Mitsui Bussan Secure Directions, Inc. All Rights Reserved. 3 Copyright 2006 Mitsui Bussan Secure Directions, Inc. All Rights Reserved.

Servlet JSP JSP Servlet/JSP における 日 本 語 の 処 理 - 1

Web Servlet/JSP JSP

ict8.key

untitled

…l…b…g…‘†[…N…v…“…O…›…~…fi…OfiÁŸ_

スライド 1

Blojsom におけるクロスサイトスクリプティングの脆弱性

main.dvi

1. URL (Uniform Resource Locator) n プロトコル (http, https, ftp, mailto) 2. ドメイン 名 (FQDN) ホストの 識

Microsoft PowerPoint ppt

スマートアヴェニュー ご利用マニュアル

WebDAVとは? Distributed Authoring and Versioning protocol for the WWW WWW 上 で 編 集 とバージョン 管 理 が 出 来 る プロトコル 1998 年 にRFC2291で 提 唱 されたHTTP1.1の 拡 張 仕 様


untitled

CAS Yale Open Source software Authentication Authorization (nu-cas) Backend Database Authentication Authorization Powered by A

コンピュータサイエンス 4. ウェブプログラミング

XMLアクセス機能説明書

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ


ict7.key

2

自己紹介 はせがわようすけ ネットエージェント株式会社 株式会社セキュアスカイ テクノロジー技術顧問 OWASP Kansai Chapter Leader OWASP Japan Chapter Advisory Board member

shio_ PDF

GulfStar1.5ユーザーマニュアル

"CAS を利用した Single Sign On 環境の構築"

HTTPの 規 格

Javaセミナー資料.PDF

WIDE 1

WebOS aplat WebOS WebOS 3 XML Yahoo!Pipes Popfry UNIX grep awk XML GUI WebOS GUI GUI 4 CUI

Web のクライアントサーバモデル

HTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f

Web SOAP Internet Web REST SOAP REST 3 REST SOAP 4

2

HTML

オンラインテスト

付録B

Windows2000 Edge Components V Edge Components V Java Edge Components

Dec , IS p. 1/60

07_経営論集2010 小松先生.indd

FileMaker Server 9 Getting Started Guide

FileMaker Server Getting Started Guide

Microsoft PowerPoint pptx

FileMaker Server Getting Started Guide

『HTML5プロフェッショナル認定資格 レベル1 教科書』サンプルPDF

"CAS を利用した Single Sign On 環境の構築"

FileMaker Server 9 Getting Started Guide

SAML

方程式を解いてみよう! C++ から PHP + JavaScriptへ


Microsoft PowerPoint - webapp.ppt [互換モード]

~モバイルを知る~ 日常生活とモバイルコンピューティング

FileMaker Server 8 Advanced Web Publishing Installation Guide

HTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f

untitled

morita.PDF

5-5_arai_JPNICSecSemi_XssCsrf_CM_ PDF

guide.PDF

Web Web Web

Mac OS X Server QuickTime Streaming Server 5.0 の管理(バージョン 10.3 以降用)

0序文‐1章.indd

FileMaker Server Getting Started Guide

i HTTP Basi

HTTP2 HTTP2 http2fuzz ATS Firefox NodeJS

untitled

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

Microsoft PowerPoint - 情報システム pptx

Microsoft PowerPoint asp cgi.pptx

2 Java 35 Java Java HTML/CSS/JavaScript Java Java JSP MySQL Java 9:00 17:30 12:00 13: 項目 日数 時間 習得目標スキル Java 2 15 Web Java Java J

5110-toku4-2c.indd

9iAS_DEV.PDF

コンピュータサイエンス 1. ウェブの基本

Web2.0 LL Framework Ruby on Rails / TurboGears / CakePHP Atlas Web2.0 XML Selenium / JMeter 3 Ajax Web 2.0 UI Ruby on Rails Web 2. ASP.NET AJAX,

スマートアヴェニュー ご利用マニュアル CGI編

はじめに

4. Webブラウザのオブジェクト

インストール取扱説明書

FileMaker WebDirect Guide

インストール取扱説明書

Web Tomcat MapDataManager i

Oracle Application Server 10g( )インストール手順書

IP L09( Tue) : Time-stamp: Tue 14:52 JST hig TCP/IP. IP,,,. ( ) L09 IP (2017) 1 / 28

サーバサイドスクリプトPHPを実感しよう

目次〜.indd

Web JavaScript Java Applet Flash ActionScript CGI (C, perl, ruby ) PHP Servlet, JSP (JavaServer Pages) ASP 7-2

SOC Report

myapp/jsp/ex01.jsp $CATALINA_HOME/work/Standalone/localhost/myapp/jsp (; ) 1 1. ex01.jsp 2 ; 2. () 3. <%! %>

Web Web Web 2

untitled

1

FileMaker Instant Web Publishing Guide

島根県における~

ohp.mgp

untitled

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web

ウイルスバスター ビジネスセキュリティ インストールガイド

1"

Transcription:

HTTP 6-1

HTTP Web Web RFC2616 HTTP/1.1 Web Apache Tomcat (Servlet ) XML Xindice Tomcat 6-2

HTTP ( ) ( ) (GET, POST ) (Host ) Tomcat Servlet Examples / Request Headers ( ) (200, 404 ) (Content-Type ) 6-3

Web CGI : Perl Servlet : Java JavaScript, Java Applet, Flash Ajax Web Service 6-4

HTTP Tomcat HTTP GET POST HTTP/1.1 Cookie 6-5

GET Servlet Examples / Hello World $ telnet localhost 8080 GET /servlets-examples/servlet/helloworldexample HTTP/1.0 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/html;charset=iso-8859-1 Content-Length: 359 Date: Tue, 10 May 2005 15:17:23 GMT Connection: close <html> <head> <title>hello World!</title> </head> <body bgcolor="white">... <h1>hello World!</h1> </body> </html> 6-6

GET ( ) JSP Examples / JSP 2.0 Examples / Functions? foo=jsp+2.0 $ telnet localhost 8080 GET /jsp-examples/jsp2/el/functions.jsp?foo=jsp+2.0 HTTP/1.0 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=B80F0DBAA37E4A36A4BB043C3B0A69D8; Path=/jsp-examples Content-Type: text/html;charset=iso-8859-1 Content-Length: 1803 Date: Tue, 10 May 2005 15:33:48 GMT Connection: close... <html> <head> <title>jsp 2.0 Expression Language - Functions</title>... </html> 6-7

POST Servlet Examples / Request Parameters Content-Type, Content-Length $ telnet localhost 8080 POST /servlets-examples/servlet/requestparamexample HTTP/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 24 firstname=ab&lastname=cd HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/html;charset=iso-8859-1 Content-Length: 675 Date: Tue, 10 May 2005 14:53:00 GMT Connection: close <html>... </html> 6-8

HTTP/1.1 $ telnet localhost 8080 GET /servlets-examples/servlet/helloworldexample HTTP/1.1 Host: localhost:8080 <-- (HTTP/1.1 ) Connection: close <-- ( Keep-Alive) HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/html;charset=iso-8859-1 Content-Length: 359 Date: Tue, 10 May 2005 15:17:23 GMT Connection: close <html> <head> <title>hello World!</title> </head> <body bgcolor="white">... <h1>hello World!</h1> </body> </html> 6-9

GET <form method="get" action="http://localhost:8080/jsp-examples/jsp2/el/functions.jsp"> foo <input type="text" name="foo"> <input type="submit" value="submit"> </form> Web JSP 2.0 Submit GET /jsp-examples/jsp2/el/functions.jsp?foo=jsp+2.0 HTTP/1.1 Host: localhost:8080... 6-10

POST <form method="post" action="http://localhost:8080/servlets-examples/servlet/requestparamexample"> firstname <input type="text" name="firstname"> lastname <input type="text" name="lastname"> <input type="submit" value="submit"> </form> Web ab, cd Submit POST /servlets-examples/servlet/requestparamexample HTTP/1.1 Host: localhost:8080... Content-Type: application/x-www-form-urlencoded Content-Length: 24 firstname=ab&lastname=cd... 6-11

Cookie Web Web (RFC2109, RFC2965 ) Cookie 4KB 20 Cookie Cookie (1) (2) Set-Cookie Cookie (3) Cookie ( ) (4) ( ) Cookie Cookie 6-12

Cookie ( ) Set-Cookie NAME=VALUE : Cookie expires : Cookie ( ) domain : Cookie path : Cookie secure : https Cookie NAME=VALUE : Cookie 6-13

Apache httpd.conf.htaccess IP Order deny,allow Deny from all Allow from 133.30 Allow from 150.84 Tomcat server.xml context.xml IP <Context path="/xindice" docbase="xindice" debug="0" reloadable="true"> <Valve classname="org.apache.catalina.valves.remoteaddrvalve" allow="^127\.0\.0\.1$"/> </Context> 6-14

HTTP Basic Digest (RFC2617) Basic HTTP ID (BASE64) SSL (https) Digest Web 6-15

Basic WWW-Authenticate WWW-Authenticate: Basic realm=" " ID ID BASE64 Authorization Web Authorization 6-16

Digest WWW-Authenticate WWW-Authenticate (nonce ) ID (cnonce) nonce, cnonce, MD5 cnonce, Authorization nonce, cnonce, Web 6-17

REFERER REFERER URI REFERER HTML XSS ( ) 6-18

Tomcat Web telnet XSS 6-19