0

画像を一時フォルダーに保存する単純な php 画像アップロード フォームがあり、それを temp と呼び、画像が承認されたら手動でアルバム フォルダーにコピーします。

私の質問は、誰かまたは私が知らない方法がある場合、検索エンジンが私の一時フォルダーとその中にある画像を「推測」する可能性があることです (承認前)。

4

2 に答える 2

1

あなたはそれを自分で書いた:

臨時雇用者はpublic_html内にあります

それはあなたの質問に答えませんか?

これが望ましくない場合は、tempフォルダー内に次の内容の.htaccessファイルを作成します。

Deny from all
于 2012-10-26T19:52:35.617 に答える
0

It depends on the location of the temp folder. If the folder lies outside the root directory of your server its not discoverable but if it lies inside the root directory it is discoverable. However you can limit the access to your temp folder if its inside the root of the server through htaccess. Or you can place a index.php file inside the folder with a header redirect so that no one can see the file(image) list.

于 2012-10-26T19:46:02.703 に答える