cmsplushosting Posted August 10, 2011 Share Posted August 10, 2011 Is there any way to update the API IP addresses dynamically? I have some addin's that rely on this functionality, but an annoyance for users who have to update their IP address in the API IP settings. (General > Security) 0 Quote Link to comment Share on other sites More sharing options...
yrochon Posted August 11, 2011 Share Posted August 11, 2011 You could have a custom page that, only if an admin is connected, will update the API list automatically. I suggest you create a module for that, with a custom table to keep track of IP's timestamp, so you can perform cleanups. The "API allowed IPs" can be fetched with select * from tblconfiguration where setting = 'APIAllowedIPs'; and updated with update tblconfiguration set value = '<list of IP separated by \n' where setting = 'APIAllowedIPs'; 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.