【发布时间】:2011-01-24 16:01:42
【问题描述】:
我正在设置 Paypal Pro,并且正在考虑如何安全地存储我的密码。这是 Paypal 的测试代码和 cmets。我应该如何更改它以安全地保护密码?
我在这里只存储 1 个密码 - 我们的 API 密码。
/**
# API_password: The password associated with the API user
# If you are using your own API username, enter the API password that
# was generated by PayPal below
# IMPORTANT - HAVING YOUR API PASSWORD INCLUDED IN THE MANNER IS NOT
# SECURE, AND ITS ONLY BEING SHOWN THIS WAY FOR TESTING PURPOSES
*/
define('API_PASSWORD', 'LJKL235JL532K35');
【问题讨论】: