why i cannot download jdk from oracle web site directly without AuthParam?

Posted by hugemeow on Server Fault See other posts from Server Fault or by hugemeow
Published on 2012-09-06T18:49:40Z Indexed on 2012/09/06 21:41 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
|

that is download with the following command, why it fails to download that file?

wget http://download.oracle.com/otn-pub/java/jdk/6u35-b10/jdk-6u35-linux-i586.bin

the following command works, but that AuthParam may not work after a while, why?

wget http://download.oracle.com/otn-pub/java/jdk/6u35-b10/jdk-6u35-linux-i586.bin?AuthParam=1346955572_27e44512fe8ef5cb920c4c329e5f0fd8

how this AuthParam option is implemented? why i cannot download without this parameter? and why i can only get this parameter using explorer?

is rewrite used in the oracle server when deal with wget request?

why the same command not works after an hour, does the value of AuthParam expired?

so how the server check whether the value of AuthParam is expired?

wget http://download.oracle.com/otn-pub/java/jdk/6u35-b10/jdk-6u35-linux-i586.bin?AuthParam=1346955572_27e44512fe8ef5cb920c4c329e5f0fd8
--2012-09-07 03:51:01--  http://download.oracle.com/otn-pub/java/jdk/6u35-b10/jdk-6u35-linux-i586.bin?AuthParam=1346955572_27e44512fe8ef5cb920c4c329e5f0fd8
Resolving download.oracle.com... 23.67.251.50, 23.67.251.57
Connecting to download.oracle.com|23.67.251.50|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2012-09-07 03:51:01 ERROR 403: Forbidden.

@KJ-SRS is that kind of CGI program which is used to judge if AuthParam is right? is that possible to download jdk package purely using wget command, and no need to get that AuthParam in explorer

© Server Fault or respective owner

Related posts about http

Related posts about rewrite