指定
I have two indicators that need protected via my website.
The cool thing is I have an ACL membership system integrated into my website that does just about everything. All it would take is putting a php script on my server that communicates with the mysql table where my subscribers data will be located. It would check their password and username/email with the username and password input into the indicator. If the two match up then it would check the table line for "expiry date" if it is not past that expiry date and if it is a valid date then the indicators work. If not they shut down and show link to my site where they can renew their subscriptoin.
As far as the code on the indicator side of things it would have to be a login and password that is input into the system. This should only have to be input once into the indicator, perhaps at time of installation, so if their was a package installer exe file that would install all my indicators and at that time if the username and pass they input during installation will then hardcode it into their indicator, that way they dont have to input their username and pass everytime they load a new indicator. Once indicator is loaded on chart it calls the url string to the website/php script that then checks the membership table on my website for a valid expiry. The website is already setup with the membership system and expiry date creator and username and password so all we have to do is put the code into the php script and indicators to call for hte check.
Obviously the code in the indicators needs to be obfiscuted that way its not easily hacked into. So that is the main point to, to not only have the username password expiry check but the obfuscation.
Let me know what you think and if you are wanting this job? and what it would cost to have you do it?
EDIT: IT SEEMS AS I DO MORE READING MY IDEA FOR HOW THIS WOULD CHECK THE DATABASE ON MY WEBSERVER IS NOT VERY ELOQUENT AND THERE ARE BETTER WAYS TO DO THIS. PLEASE CHECK THIS ARTICLE:
https://www.mql5.com/en/articles/932
AND THE ATTACMENTS AND CODE THAT ARE POSTED ON IT AND LET ME KNOW IF YOU ARE FAMILIAR USING THIS METHOD AND IF THIS IS TRULY THE BEST METHOD.