Advice please: PHP.ini allow_url_fopen = On?

I want to read some public data directly from a data file online on another site and use it in a PHP custom application. However, the setting allow_url_fopen = Off in the default PHP.ini file prevents me from doing this. I could try and get around this by implementing a custom PHP.ini solution, but could someone advise me as to why this is set to Off in the default PHP.ini? In other words, is there a good reason why not to set this to On?

Leaving allow_url_fopen set to β€œon” is a huge security risk. Please read this wiki article for a secure solution.

– si-blog –
Max discount on any plan with promocode SCJESSEYTOTAL

Thanks for the advice, much appreciated!
I will implement the alternative solution instead.