Protecting my web site content from being downloaded through cURL

Posted by Testadmin on Stack Overflow See other posts from Stack Overflow or by Testadmin
Published on 2010-05-25T05:21:55Z Indexed on 2010/05/25 5:41 UTC
Read the original article Hit count: 206

Filed under:
|

I heard about external access of a web site using curl by the following code:

$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'http://example.com');
$buffer=curl_exec($curl_handle);
curl_close($curl_handle);

I want to protect my web site from this external access. I am using PHP. How can I protect my web site?

© Stack Overflow or respective owner

Related posts about php

Related posts about curl