Skip to main content

Global WHM script, accessible without an auth / api key

Comments

4 comments

  • cPanelMichael
    Hello :) Could you elaborate more on how you prefer it to be accessible without authentication? Do you mean you prefer authentication to occur because a user has already signed into Web Host Manager? Thank you.
    0
  • rustyhex2
    Hello. I prefer wide-open API for public read-only data (monitoring purposes) without login / remote access key (it is sensitive information and does not required for public RO data).
    0
  • cPanelMichael
    I believe authentication of some kind is required to first obtain the data you are attempting to output. You could use one of the methods listed here: Authenticating API Function Calls Thank you.
    0
  • KostonConsulting
    Even if you are monitoring, why would you want to open an interface with root privileges that is open to the world? Wouldn't it make more sense to have some off-server system poll whatever WHM APIs you wanted to make publicly available and then make that data public? You could technically downgrade your permissions within the WHM API call but it's then likely that you wouldn't have the right data available. Maybe if you could provide more context about what you're trying to accomplish, we could provide a more accurate answer.
    0

Please sign in to leave a comment.