Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

API Host Access Control

Discussion in 'cPanel Developers' started by gildas, Jun 11, 2019.

  1. gildas

    gildas Well-Known Member

    Joined:
    Mar 30, 2017
    Messages:
    55
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Paris
    cPanel Access Level:
    Root Administrator
    Hello

    I would like add an ip to the host access control by APi, which command must i use ?

    Regards
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,466
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    There's no API function for this it's just a modification to the file /etc/hosts.allow
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice