1

In Joomla Joomla 4/5:

What is the best strategy to allow access to Joomla API endpoints from only one (or more) specific domains? And how is this configured in Joomla 4/5? (CORS vs. HTTP-Header-Plugin vs. other solution).

I simply cannot find a best practice by checking the documentation on this topic.

1 Answer 1

0

Great question. Maybe .htaccess can do this?

Require ip 192.0.2.0

I would put this in a .htaccess in the /api folder as a test.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.