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

SQLite通过URL访问时显示数据

I am creating a website in which users can log in a share pictures. The problem is, when I type in domain.com/database.sqlite, it shows a bunch of question marks and some of the data stored in the database. How do I prevent this from happening?

You could configure your server as the others suggested but it would be better if you could move the database out of the public directory. That way if you upgrade the server and your settings get changed the database still can't be accessed.

近期文章

  • 有没有帮我,解读 c程序
  • python打印出现次数第二多的元素的索引值
  • 定义一个用多种方法获取的一个值
  • 关于#matlab#的问题:yd=[-(1/(R1*C))*y(1)-(1/C)y(2)+(1/(R1C))*U
  • 有没有权限提升和维持的在线靶场?
  • 这个我有些不太明白,不知道他是希望得到什么,一直改也改不对
  • vue3中怎么样才能获取到缓存
  • 如何根据国家/地区更改日期格式
  • for循环遍历获取网页内部链接
  • 在windows运行gcc问题?
  • 用户登录后显示指定权限菜单
  • 网络组建上面的问题 不会
  • 把phone转换为字符串。
  • C++判断平方数问题求答疑解惑
  • 怎么用kotlin语言连接sqlite实现注册功能
  • 用if-else结构输入 这个程序有什么问题吗 为什么输出不对
  • PHP到Java连接
  • Unsafe.park一直WAITING是什么原因
  • oracle 数据泵 imp导入 报错 对象已存在
  • 这是什么情况 如何从stm32cubemx的6.3更新到6.4

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华