【问题标题】:Google datastore security with objectify使用 objectify 的 Google 数据存储安全性
【发布时间】:2017-04-02 10:34:16
【问题描述】:

我正在尝试使用 objectify 和 GAE(Java,标准环境)将一些数据存储在 Google 的数据存储中。 当不使用 objectify 时,文档中提到了准备好的查询,以便从数据存储中保存和检索数据。 见:GAE docs

像这样使用Objectify时有没有类似SQL注入的漏洞:

List<Car> cars = ofy().load().type(Car.class).filter("year >", 1999).list();

或者像这样:

ofy().save().entity(thing1).now();
Thing th = ofy().load().key(thingKey).now();

提前致谢

【问题讨论】:

    标签: java google-app-engine google-cloud-datastore objectify


    【解决方案1】:

    不,没有相当于 SQL 注入的东西,因为没有查询语言。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-08-11
      • 2015-05-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多