<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Login ID is viewable in source code in hidden fields? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/12768#M7755</link>
    <description>&lt;P&gt;In order to transfer the end-user to the Authorize.Net hosted payment form certain values must be included: the API Login ID, sequence number, timestamp, amount and the resulting fingerprint hash value that your script generates from these values along with your API Login ID and Transaction Key. Your API Login ID isn't considered to be secure unless it is viewable in conjunction with your Transaction Key. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Elaine&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2011 21:04:20 GMT</pubDate>
    <dc:creator>Elaine</dc:creator>
    <dc:date>2011-05-09T21:04:20Z</dc:date>
    <item>
      <title>Login ID is viewable in source code in hidden fields?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/6996#M5077</link>
      <description>&lt;P&gt;Hi, I'm relatively new to Authorize.net, so forgive me if I'm missing something obvious here. &amp;nbsp;I'm currently working on a SIM integration. &amp;nbsp;Everything seems to be working fine, but the loginID I'm using is viewable in the page source (when the page is viewed in a web browser). &amp;nbsp;Is this is a security risk? &amp;nbsp;How would I go about hiding it -- and still submitting the data to Authorize.net? &amp;nbsp;Thanks in advance for any help. &amp;nbsp;Here's my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;?php&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;require_once 'anet_php_sdk/AuthorizeNet.php';&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$loginid = "xxxxxxx";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$x_tran_key = "xxxxxxxx";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$amount = $_POST["amount"];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$designation &lt;SPAN style="white-space: pre;"&gt;&amp;nbsp;&lt;/SPAN&gt;= "This is a gift towards " . $_POST["designation"];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$fp_timestamp = time();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$fp_sequence = "123" . time(); // Enter an invoice or other unique number.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id,$transaction_key, $amount, $fp_sequence, $fp_timestamp);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;?&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;p&amp;gt;Amount: &amp;lt;?php echo $amount; ?&amp;gt;&amp;lt;/p&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;p&amp;gt;Desigation: &amp;lt;?php echo $designation; ?&amp;gt;&amp;lt;/p&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;form method='post' action="&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll" rel="nofollow"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_login" value="&amp;lt;?php echo $api_login_id?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_fp_hash" value="&amp;lt;?php echo $fingerprint?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_amount" value="&amp;lt;?php echo $amount?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_description" value="&amp;lt;?php echo $designation ?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_fp_timestamp" value="&amp;lt;?php echo $fp_timestamp?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_fp_sequence" value="&amp;lt;?php echo $fp_sequence?&amp;gt;" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_version" value="3.1"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_show_form" value="payment_form"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_test_request" value="false" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='hidden' name="x_method" value="cc"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type='submit' class="submit" value="Continue to Authorize.net"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2010 19:59:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/6996#M5077</guid>
      <dc:creator>slurve</dc:creator>
      <dc:date>2010-11-03T19:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Login ID is viewable in source code in hidden fields?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/6998#M5078</link>
      <description>&lt;P&gt;That's ok as long as the transaction key is secure. It's kinda like every *nix system has a user called root. We all know it but without the password it's useless to us.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2010 20:03:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/6998#M5078</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-11-03T20:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Login ID is viewable in source code in hidden fields?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/12674#M7711</link>
      <description>&lt;P&gt;I was thinking the same thing about the x_login.&amp;nbsp; The integration manual states very clearly that we should 'share this with noone".&amp;nbsp; I'm wondering why, in that case, it is required to be posted in it's own hidden field, and not just in the hashed field.&amp;nbsp; It makes no sense.&amp;nbsp; I'm assuming that the x_login is INTENDED to be made public in this type of integration, relying on the security of the password alone.&amp;nbsp; They really ought to address this in the integration guide.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 20:15:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/12674#M7711</guid>
      <dc:creator>Norton</dc:creator>
      <dc:date>2011-05-05T20:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Login ID is viewable in source code in hidden fields?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/12768#M7755</link>
      <description>&lt;P&gt;In order to transfer the end-user to the Authorize.Net hosted payment form certain values must be included: the API Login ID, sequence number, timestamp, amount and the resulting fingerprint hash value that your script generates from these values along with your API Login ID and Transaction Key. Your API Login ID isn't considered to be secure unless it is viewable in conjunction with your Transaction Key. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Elaine&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2011 21:04:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Login-ID-is-viewable-in-source-code-in-hidden-fields/m-p/12768#M7755</guid>
      <dc:creator>Elaine</dc:creator>
      <dc:date>2011-05-09T21:04:20Z</dc:date>
    </item>
  </channel>
</rss>

