[Qt-qml] Arbitrary OfflineStorage paths
Alan Alpert
alan.alpert at nokia.com
Fri Nov 18 03:01:24 CET 2011
On Fri, 18 Nov 2011 11:55:29 ext Mark Constable wrote:
> Would it be possible to expand the first argument below to allow
> for dealing with arbitrary paths?
>
> ie; if the first argument started with "/" or "./" then it would
> be treated as an absolute or relative path to the db. Use case is
> obviously interacting with HTML5 or system installed databases.
>
> var db = openDatabaseSync(
> "QDeclarativeExampleDB",
> "1.0",
> "The Example QML SQL!",
> 1000000
> );
How does HTML5 deal with this usecase? Presumably opening arbitrary databases
for online storage is a security risk, does HTML5 storage have an answer for
this?
--
Alan Alpert
Senior Engineer
Nokia, Qt Development Frameworks
More information about the Qt-qml
mailing list