dongqie8661 2013-06-19 19:09
浏览 20


I'm working on a website in which I -as an admin- need to be able to access a PHP script that no one else can. Building a whole login system with accounts would be overkill in this case, as I would be the only one using it.

So my question is, how can I create a very basic yet secure authentication system?

Given that I have an Apache HTTP Server, can I use the .htaccess file to forbid access to certain PHP files and ask for a certain combination of username/password?

  • 写回答

3条回答 默认 最新


      相关推荐 更多相似问题


      • ¥20 ROS中的TEB局部规划问题
      • ¥20 关于#matlab#的问题:要求测出上面图片中所有同心圆的半径
      • ¥20 epanet软件运行问题
      • ¥15 Python 文件读取
      • ¥60 dpabi进行Alff计算时脑池有干扰信号
      • ¥15 利用kmeans或kshape聚类分析对归一化的无量纲时间-降雨序列进行聚类
      • ¥15 protel99.SE提示一下弹窗
      • ¥15 银河麒麟v10 执行.run失败如何解决
      • ¥15 如何用Python打开LA文件
      • ¥15 用mysql做一个酒店管理系统