These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:06 pm Advanced search

MD5 Hash Validation

Do you think the HTML spec should do something differently? You can discuss spec feedback here, but you should send it to the WHATWG mailing list or file a bug in the W3C bugzilla for it to be considered.

MD5 Hash Validation

Postby jimmyhartman » Wed Aug 15, 2007 3:58 am

Is there a way for links to make suggestions to browsers? Specifically, I would like to see links that can provide an md5 or other hashes to a browser so that it can automatically check for corrupt files. Also, if the syntax is flexible enough, a link could suggest alternate sites if the primary site is down or too slow. I'm sure that there could be many other uses for this, including custom key value pairs for custom plugins.

Here is a sample tag syntax that shows the general idea:

<a href="download.com/file.exe" custom="md5:2442349232; sh1:4000384320; mirror:bestdownloads.com/file.exe"> download </a>
jimmyhartman
<h6>
 
Posts: 1
Joined: Tue Aug 14, 2007 12:57 am

Postby zcorpan » Sat Aug 18, 2007 6:22 pm

zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby Le Sage » Sat Dec 08, 2007 12:34 pm

both the ideas of the hash & mirror sound really cool, though I would more see something like:
<a href="file.exe" mirrors="1:example.org/file.exe;2:somewhereelse.com/file.exe" hashes="md5:123456789; sha-1:987654321">...</a>
User avatar
Le Sage
<h3>
 
Posts: 54
Joined: Wed Dec 05, 2007 9:08 pm
Location: Casablanca, Morocco

Postby zcorpan » Mon Dec 10, 2007 6:57 pm

Le Sage wrote:both the ideas of the hash & mirror sound really cool, though I would more see something like:
<a href="file.exe" mirrors="1:example.org/file.exe;2:somewhereelse.com/file.exe" hashes="md5:123456789; sha-1:987654321">...</a>
Why would you want to list mirrors in an attribute rather than having separate links?
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby Le Sage » Wed Dec 12, 2007 10:36 am

So that the browser (or any download accelerator) could use several sockets to accelerate the download; or so that if the first link is down the user-agent can try the second link automatically, ...
User avatar
Le Sage
<h3>
 
Posts: 54
Joined: Wed Dec 05, 2007 9:08 pm
Location: Casablanca, Morocco

Postby zcorpan » Thu Dec 13, 2007 10:08 am

Aren't there download accelerators available today that can do this despite the lack of a mirrors="" attribute in HTML? If there is, then browsers can do the same, no?
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby Le Sage » Thu Dec 13, 2007 1:30 pm

I haven't been aware of such softwares. If they don, they must manage to get a list of mirrors out of special way (non standard defined way), so maybe creating a standard defined way would be good. :)
If there already is a standard defined way, I'm not aware of it.
User avatar
Le Sage
<h3>
 
Posts: 54
Joined: Wed Dec 05, 2007 9:08 pm
Location: Casablanca, Morocco


Return to Feedback on the Specs

Who is online

Users browsing this forum: No registered users and 1 guest