Title: Security
Last modified: April 10, 2017

---

# Security

 *  Resolved [alphonix](https://wordpress.org/support/users/alphonix/)
 * (@alphonix)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/security-61/)
 * Hello,
 * I get this error on server production (Https).
 * `file_get_contents(https://maps.googleapis.com/maps/api/geocode/json?address=
   London): failed to open stream: no suitable wrapper could be found ...`
 * Is it mandatory to enable “allow_url_include” ? because it not very safe method.
 * Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [bozdoz](https://wordpress.org/support/users/bozdoz/)
 * (@bozdoz)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/security-61/#post-9015375)
 * I don’t see anything about file_get_contents being unsafe.
 * See this: [http://stackoverflow.com/questions/6551379/file-get-contents-error](http://stackoverflow.com/questions/6551379/file-get-contents-error)
 * I can try to implement cURL instead.
 *  Thread Starter [alphonix](https://wordpress.org/support/users/alphonix/)
 * (@alphonix)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/security-61/#post-9053424)
 * It’s a good idea i think, also because https get errors with file_get_contents
   function.
 * Look at :
    [http://goffgrafix.com/blog/2010/04/if-your-server-sets-the-allow_url_fopen-and-allow_url_include-php-directives-off/](http://goffgrafix.com/blog/2010/04/if-your-server-sets-the-allow_url_fopen-and-allow_url_include-php-directives-off/)
 *  Plugin Author [bozdoz](https://wordpress.org/support/users/bozdoz/)
 * (@bozdoz)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/security-61/#post-9256467)
 * Curl is on by default now. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Security’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-map/assets/icon-256x256.png?rev=1693083)
 * [Leaflet Map](https://wordpress.org/plugins/leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-map/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bozdoz](https://wordpress.org/support/users/bozdoz/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/security-61/#post-9256467)
 * Status: resolved