Is there a problem in disabling curl and wget

curlwget

Is it recommended to disable curl and wget to disallow anyone from accessing my websites using those commands?

Or is it needed for some search engines to access my websites?

What are your recommendations regarding curl and wget?

Best Answer

Depends what you want to do, and why - you could implement a ban based on user-agent, that's the easiest way, but it won't stop a determined "scraper", but then little will.

It may be that enforcing referrer checks could achieve what you want as well.

Google certainly doesn't scrape with a curl-ush or wget-ish useragent, so it shouldn't affect that.

What web server are you using? Why are you trying to achieve this? These answers whill help us help you :)