--- html5/webdatabase/Overview.html 2009/10/04 10:14:19 1.36 +++ html5/webdatabase/Overview.html 2009/10/27 08:23:43 1.43 @@ -26,6 +26,7 @@ table { border-collapse: collapse; border-style: hidden hidden none hidden; } table thead { border-bottom: solid; } table tbody th:first-child { border-left: solid; } + table tbody th { text-align: left; } table td, table th { border-left: solid; border-right: solid; border-bottom: solid thin; vertical-align: top; padding: 0.2em; } blockquote { margin: 0 0 0 2em; border: 0; padding: 0; font-style: italic; } @@ -167,18 +168,18 @@

W3C

Web Database

-

W3C Working Draft 10 September 2009

+

W3C Working Draft 27 October 2009

This Version:
-
http://www.w3.org/TR/2009/WD-webdatabase-20090910/
+
http://www.w3.org/TR/2009/WD-webdatabase-20091027/
Latest Published Version:
http://www.w3.org/TR/webdatabase/
Latest Editor's Draft:
http://dev.w3.org/html5/webdatabase/
-
Previous Versions:
-
http://www.w3.org/TR/2009/WD-webdatabase-20090423/ - :ZZZ --> +
http://www.w3.org/TR/2009/WD-webstorage-20090423/ +
Editors:
Ian Hickson, Google, Inc.

4.2 Parsing and processing SQL statements

When the user agent is to preprocess a SQL statement sqlStatement with an array of arguments arguments, it must run the following steps:

  1. Parse sqlStatement as a SQL statement, - with the exception that U+003F QUESTION MARK (?) characters can be + with the exception that U+003F QUESTION MARK characters (?) can be used in place of SQL literals in the statement. [SQL]

  2. @@ -1069,6 +1070,7 @@ interface S reasonable time.

    5 Web SQL

    Need to define the SQL dialect.

    6 Disk space

    User agents should limit the total amount of space allowed for + databases.

    User agents should guard against sites storing data under the @@ -1084,7 +1086,7 @@ interface S future.

    7 Privacy

    7.1 User tracking

    A third-party advertiser (or any entity capable of getting content distributed to multiple sites) could use a unique identifier stored in its - client-side database + client-side databases to track a user across multiple sessions, building a profile of the user's interests to allow for highly targeted advertising. In @@ -1109,8 +1111,8 @@ interface S

    Expiring stored data
    -

    User agents may automatically delete stored data after a period - of time.

    +

    User agents may, if so configured by the user, automatically + delete stored data after a period of time.

    This can restrict the ability of a site to track a user, as the @@ -1118,10 +1120,11 @@ interface S sessions when he authenticates with the site itself (e.g. by making a purchase or logging in to a service).

    -

    However, this also puts the user's data at risk.

    +

    However, this also reduces the usefulness of the API as a + long-term storage mechanism. It can also put the user's data at + risk, if the user does not fully understand the implications of + data expiration.

    -
    @@ -1130,12 +1133,11 @@ interface S

    If users attempt to protect their privacy by clearing cookies without also clearing data stored in the - - database - - feature, sites can defeat those attempts by using the two features - as redundant backup for each other. User agents should present the + relevant databases, + + sites can defeat those attempts by using the two features as + redundant backup for each other. User agents should present the interfaces for clearing these in a way that helps users to understand this possibility and enables them to delete data in all persistent storage features simultaneously. [COOKIES]

    @@ -1204,10 +1206,12 @@ interface S from that domain. To mitigate this, pages can use SSL. Pages using SSL can be sure that only pages using SSL that have certificates identifying them as being from the same domain can access their + databases.

    8.2 Cross-directory attacks

    Different authors sharing one host name, for example users hosting content on geocities.com, all share one + set of databases. There is no feature to restrict the access by pathname. Authors on @@ -1240,6 +1244,9 @@ interface S JavaScript is implicitly UTF-16.

    8.5 SQL injection

    Authors are strongly recommended to make use of the ? placeholder feature of the executeSql() method, and to never construct SQL statements on the fly.

    References

    All references are normative unless marked "Non-normative".

    [COOKIES]