我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Mongodb注入查找数组?

What kind of situations do I have to look out for with this type of of querying?

$collection->find(array('key' => $user_string_value))

I won't be using the $where syntax at all with user input as it seems blatantly insecure without lots of injection prevention.

Is the above find call 100% secure regardless of what is in that variable?

近期文章

  • Concrete5 - 类方法不起作用
  • 无法在PHP 5.5.9中获取代码[关闭]
  • Jquery选项卡不能在php循环中工作
  • Android-将照片上传到服务器
  • 获取选择选项的值
  • Mod Rewrite 500服务器错误问题
  • PHP:合并未知数量的数组
  • 在php页面上显示WordPress页面[关闭]
  • Wordpress do_shortcode()不起作用
  • Laravel在localhost上做得不好
  • wordpress管理中的纯文本(HTML)
  • 在mysqli中添加所有重复值
  • Codeigniter会话超时消息
  • Wordpress - 将php对象传递给新页面[关闭]
  • Laravel使用原始字符串创建表
  • 如何从mysql实现或切换到PDO [关闭]
  • 搜索标签并按排名排序
  • Markerclusterer - 群集标记+自定义图标
  • Json解码不工作//不打印[关闭]
  • 使用mysql fetch行发出检索值

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华