Meta Box
Support › General › Get Password meta fieldResolved
Hello, I see that metabox password fields helps to save the encrypted copy of the password. How could I use the password?
I'm trying to store API Passwords, and then use it to connect to API rest. But the value that shows is different that original one.
I saw the documentation, but I don't understand it well.
Thanks
Hi,
A password after saving to the database, it is hashed and can only be checked by the function. https://codex.wordpress.org/Function_Reference/wp_hash_password
So if you want to save the API password, it should be a Text field with a string then you can send this string when connecting to API as an argument.
Thanks for your reply.
How could I do it to make more secure?
The password, in essential, that means remember not to store in a field. These articles maybe help you to secure the argument https://blog.httpwatch.com/2009/02/20/how-secure-are-query-strings-over-https/ https://fastspring.com/docs/passing-sensitive-data-with-secure-requests/