English 中文(简体)
是否有办法安全地将用户上载的网页放在PHP上?
原标题:Is there any way to run user uploaded pages securely on PHP?
  • 时间:2011-10-27 20:35:20
  •  标签:
  • php

我要把文件(网站/应用程序)上载到我的网络服务器上,以提供目录并在那里操作。 然而,已经是简单的呼声,可能会造成严重后果。

All the things I can think of are setting the pages directory outside the public_html and setting the permissions automatically so that the user running that page doesn t have any rights outside it.

至今为止发现的其他医疗解决办法是:,其中特别看看看看看看看着非常不可靠的解决办法,因为它似乎被放弃。

确实没有办法? 甚至连全程的弹片(斜体)都没有?

最佳回答

页: 1 用户上载的密码可以从事几乎无限制的恶意行为,其中许多行为与合法行为(例如,邮寄邮件和寄送垃圾邮件;获取外部的APICS诉携带DDoS;操作一条指挥线公用事业诉运营;管理档案和删除所有材料)。 一般来说,没有“扫描”的方法,当然,购买力平价内没有。

问题回答

使用开放式——以用户为限。 这样一来,它就可以在自己掌握的情况下执行档案,但不能看到超出他手脚的东西。

这里要了解更多信息:

http://www.randombugs.com/php/apache-dynamic-virtual-hosting-php-security.html





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签