Latest 3.x Release

This documentation covers the latest release of the legacy 3.x Fedora. Looking for another version? See all documentation.

Fedora 4 Development

Looking for Fedora's currently active development?

Question

I can't make changes to my Fedora repository via the API unless I'm making the requests from the same host. Why is that, and how do I change it?

Answer

Fedora's default server security settings disallow remote administrative access. This restriction can be relaxed by modifying or removing a particular policy, or disabling policy enforcement.

Either:

1. Modify (or removing) the deny-apim-if-not-localhost.xml policy file.
See the default policy documentation in the user guide:
http://www.fedora-commons.org/confluence/display/FCR30/Fedora+Authorization+with+XACML+Policy+Enforcement

See the "Activating and Loading" instructions in the user guide:
http://www.fedora-commons.org/confluence/display/FCR30/Fedora+Authorization+with+XACML+Policy+Enforcement

Or:

2. Disable policy enforcement altogether
See the "Enabling/Disabling XACML Policy Enforcement" section in the user guide:
http://www.fedora-commons.org/confluence/display/FCR30/Fedora+Authorization+with+XACML+Policy+Enforcement

  • No labels