'纯'客户端javscript数据库? [英] 'Pure' client-side javscript database?

查看:103
本文介绍了'纯'客户端javscript数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有人:


我知道在谷歌这个时代尴尬地在

互联网上'丢失'一些东西,但是我最近检查了一个项目,该项目在纯客户端javascript中实现了一个带有SQL子集的

数据库。


我忘了给它添加书签,现在我找不到。


任何人?


提前致谢,

-CJL

解决方案

嘿所有:


找到它。 Dang。

http://trimpath.com/project/ wiki / TrimQuery


谢谢,

CJL


" ; CJL" < CJ **** @ gmail.com> kirjoitti

viestiss?:11 ********************** @ g44g2000cwa.goo glegroups.com ...

嘿所有人:

我知道谷歌在互联网上失去某些东西是愚蠢的,但我最近检查了一个已经实施的项目一个带有纯客户端javascript的SQL子集的数据库。

我忘了给它添加书签,现在我找不到它。



我很高兴你找到它,但我必须抗议,揭示数据库

结构给最终用户(客户端)要求黑客攻击,尤其是当

站点还提供了运行查询的可能性。这就像为窃贼制作一个

标志:请来这里窃取我们拥有的一切,我们不要敲门锁或报警我们的狗实际上只是一只奇瓦瓦狗。那是对黑客的热烈欢迎。什么阻止我运行DROP DATABASE

xyz来自javascript控制台?


如果你实现这种环境,请注意数据库安全性和用户权限。在我看来,风险很高。除非

这是用于内联网或某种受限用户群?


-

SETI @ Home - 捐赠你的cpu科学的空闲时间。

进一步阅读< http://setiweb.ssl.berkeley.edu/>

Kimmo Laine< et ** **************@5P4Mgmail.com>


cjl写道:

我知道它是在谷歌这个时代愚蠢到互联网失去一些东西,但我最近检查了一个项目,该项目在纯客户端实现了一个带有SQL子集的数据库
javascript。




客户端数据库?现在有一个非常糟糕的主意。你想要做的最后一件事就是让客户端下载一个完整的数据库只需

所以它可以提取它的一小部分。服务器端是数据库

所属的位置,以及从中提取数据的任务。


Richard。


Hey all:

I know that it is silly in the age of Google to ''lose'' something on the
internet, but I recently checked out a project that had implemented a
database with a subset of SQL in pure client-side javascript.

I forgot to bookmark it, and now I can''t find it.

Anyone?

Thanks in advance,
-CJL

解决方案

Hey all:

Found it. Dang.

http://trimpath.com/project/wiki/TrimQuery

Thanks,
CJL


"cjl" <cj****@gmail.com> kirjoitti
viestiss?:11**********************@g44g2000cwa.goo glegroups.com...

Hey all:

I know that it is silly in the age of Google to ''lose'' something on the
internet, but I recently checked out a project that had implemented a
database with a subset of SQL in pure client-side javascript.

I forgot to bookmark it, and now I can''t find it.


I''m glad you found it, but I MUST protest, that revealing the database
structure to end-users (clients) is asking for hacks, especially when the
site also provides the possibility to run queries. That''s just like making a
sign for burglar: "Please come here and steal everything we have, we don''t
lock doors or have alarms and our dog is actually just a chihuahua." That''s
a warm welcome for hackers. What prevents me from running "DROP DATABASE
xyz" from javascript console?

Do pay attention to database security and user rights if and when you
implement that sort of environment. It seems to me a very high risk. Unless
this is for intranet or some sort of restricted user group?

--
SETI @ Home - Donate your cpu''s idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <et****************@5P4Mgmail.com>


cjl wrote:

I know that it is silly in the age of Google to ''lose'' something on
the internet, but I recently checked out a project that had
implemented a database with a subset of SQL in pure client-side
javascript.



A client-side database? Now there is a spectacularly bad idea. The last
thing you want to do is have the client download an entire database just
so it can extract a tiny part of it. Server-side is where the database
belongs, and where the task of extracting data from it should happen.

Richard.


这篇关于'纯'客户端javscript数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆