Jump to content

Recommended Posts

I need to protect certain xml feeds so that only specific sites are able to access them. The problem is however that the retrieving sites are hosted on a shared server and therefore the following doesn't seem to work:

 

AuthName "yadayada"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from mydomain.com
</Limit>

 

If I do this:

 

AuthName "yadayada"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from 1.2.3.4
</Limit>

 

then everyone on the server will be able to access the xml feeds. It's not very likely that they will find out where they are located or that they would have any interest in them whatsoever but I would still like to fill this security hole.

 

Is there any way to get around this problem?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.