AJAX
PHP
HTACCESS
<?php
if($_SERVER[REQUEST_URI] == "/images/uploads/EXAMPLE" && $from != "http://www.example.com"){ // $from = from where the ajax request were sent.
header("location: 403.html");
}
?>
欢迎各位兄弟 发布技术文章
这里的技术是共享的
| |||
my-domain.com