Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1427

Administration Joomla! 5.x • Re: Best way to store Joomla API token when using Web Services

$
0
0
I don't want to put my Joomla API token into code in plain text for security reasons.
When you use a PHP script that needs to access your Joomla API, it needs an API token.
You can make that token available via an .env file that you load and read into the PHP.
That way, it is not available as plain text in the PHP script.
But it is still stored in the same place as the PHP script.

Statistics: Posted by pe7er — Thu Mar 28, 2024 12:25 pm



Viewing all articles
Browse latest Browse all 1427