<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Simple Password protection]]></title>
		<link>https://forexsb.com/forum/topic/7253/simple-password-protection/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/7253/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Simple Password protection.]]></description>
		<lastBuildDate>Fri, 16 Mar 2018 16:55:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Simple Password protection]]></title>
			<link>https://forexsb.com/forum/post/49608/#p49608</link>
			<description><![CDATA[<p>@popov did you have a code snippet for me to add demo function?</p>]]></description>
			<author><![CDATA[null@example.com (deadlef)]]></author>
			<pubDate>Fri, 16 Mar 2018 16:55:42 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/49608/#p49608</guid>
		</item>
		<item>
			<title><![CDATA[Re: Simple Password protection]]></title>
			<link>https://forexsb.com/forum/post/49519/#p49519</link>
			<description><![CDATA[<p>Great. Thank you dear!</p>]]></description>
			<author><![CDATA[null@example.com (alamehmazen123)]]></author>
			<pubDate>Fri, 09 Mar 2018 06:14:13 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/49519/#p49519</guid>
		</item>
		<item>
			<title><![CDATA[Re: Simple Password protection]]></title>
			<link>https://forexsb.com/forum/post/49516/#p49516</link>
			<description><![CDATA[<p>You can predefine an expiry date and to request for a valid password after that time.</p><p>Another option is to give an EA that will stop after the expiry date. After the trial the user must buy the unlimited copy, which has password protection.</p><p>A better option (but it requires more wok) is to make an online licensing service. The expert may ask the service with POST request if this user is valid or not. all licensing logic can be on the server. You may provide a demo password automatically and a real password after purchasing.</p><p>The licensing process is hard to be make right. You may search for a ready third party solution.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 08 Mar 2018 21:51:10 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/49516/#p49516</guid>
		</item>
		<item>
			<title><![CDATA[Re: Simple Password protection]]></title>
			<link>https://forexsb.com/forum/post/49509/#p49509</link>
			<description><![CDATA[<p>the hard question is , how to make it as a DEMO EA (works only for a specific period of time, then it stops)<br />how to implement that period in it?</p>]]></description>
			<author><![CDATA[null@example.com (alamehmazen123)]]></author>
			<pubDate>Thu, 08 Mar 2018 16:28:30 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/49509/#p49509</guid>
		</item>
		<item>
			<title><![CDATA[Re: Simple Password protection]]></title>
			<link>https://forexsb.com/forum/post/49508/#p49508</link>
			<description><![CDATA[<p>this is excellent dear POPOV,<br />i would also add ExpertRemove();....just to remove the EA if wrong password</p><p>&nbsp; &nbsp; if (Password != &quot;123456&quot;) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;Print(&quot;Wrong password!&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;Comment(&quot;Wrong password!&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;ExpertRemove();<br />&nbsp; &nbsp; &nbsp; &nbsp;return (INIT_FAILED);<br />&nbsp; &nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (alamehmazen123)]]></author>
			<pubDate>Thu, 08 Mar 2018 16:05:57 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/49508/#p49508</guid>
		</item>
		<item>
			<title><![CDATA[Re: Simple Password protection]]></title>
			<link>https://forexsb.com/forum/post/49466/#p49466</link>
			<description><![CDATA[<p>Actually it is very easy.</p><p>Add a text field that to be shown in the Input panel.</p><div class="codebox"><pre><code>static input string Password = &quot;-&quot;; // Password</code></pre></div><p>Add password check in the Expert&#039;s initialization function.</p><div class="codebox"><pre><code>int OnInit()
  {
    if (Password != &quot;123456&quot;) 
    {
       Print(&quot;Wrong password!&quot;);
       Comment(&quot;Wrong password!&quot;);
       return (INIT_FAILED);
    }

... </code></pre></div><br /><br /><p><span class="postimg"><img src="https://s9.postimg.org/o5xwksdbj/screenshot_171.png" alt="https://s9.postimg.org/o5xwksdbj/screenshot_171.png" /></span></p><br /><br /><p><span class="postimg"><img src="https://s9.postimg.org/5qdfnku3z/screenshot_172.png" alt="https://s9.postimg.org/5qdfnku3z/screenshot_172.png" /></span></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 05 Mar 2018 09:41:03 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/49466/#p49466</guid>
		</item>
		<item>
			<title><![CDATA[Simple Password protection]]></title>
			<link>https://forexsb.com/forum/post/49459/#p49459</link>
			<description><![CDATA[<p>Hell,</p><p>can someone tell me how i can protect ea with password?</p><p>Ich mean: User enter password in ea settings. If it is equal to the password in mql code than the ea Do trades otherwise it will Display a text like password not correct.</p><p>I have tried different code snippets on internet i found but they dont work.</p>]]></description>
			<author><![CDATA[null@example.com (deadlef)]]></author>
			<pubDate>Sun, 04 Mar 2018 15:52:24 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/49459/#p49459</guid>
		</item>
	</channel>
</rss>
