Hello,
I'm working on a little application to help customers manage their accounts from their phone (based on an app that was offered me for $1000/year..).
I figured it would be safest to not have the root login in the source code (I know it's compiled and all, but people always figure out how to decompile something) and so I wanted to call the API as a regular user.
Unfortunately, I always get the following error when trying to perform any call as user:
<error>Execution of <function> is not permitted inside of webmail (api2)</error>
How would I go about calling the API as a regular cPanel user?
Thank you,
Cas
I'm working on a little application to help customers manage their accounts from their phone (based on an app that was offered me for $1000/year..).
I figured it would be safest to not have the root login in the source code (I know it's compiled and all, but people always figure out how to decompile something) and so I wanted to call the API as a regular user.
Unfortunately, I always get the following error when trying to perform any call as user:
<error>Execution of <function> is not permitted inside of webmail (api2)</error>
How would I go about calling the API as a regular cPanel user?
Thank you,
Cas