Developers
AvantGo Channel Developer Guide

TOC PREV NEXT INDEX


Restrict access to AvantGo servers only

One requirement of being an AvantGo media channel customer developer is allowing only AvantGo servers to have access to your AvantGo channel. While your AvantGo channel pages might look great on a Palm III, you do not want your average Windows user running IE or Netscape to be viewing them. They can look a little barren. (Plus, they will miss all the revenue-generating banner ads you have running on your main site.)

Note: This does not mean you have to provide content exclusively to AvantGo servers. If you would like to mirror your channel content so other people have access to it, that is fine. But we do ask that you make your AvantGo channel directory available only to AvantGo sync servers.

Generally, the best way to do this is with a reverse Domain Name lookup. How to actually implement this depends on the server you are using.


Topics in this section:

Using Apache

If you are using Apache, follow these steps:

  1. Make sure your AvantGo channel is in a separate directory.
  2. For example: www.mywebsite.com/avantgo/

  3. Create or edit the .htaccess file within that directory to read:

order deny,allow

deny from all

allow from avantgo.com

This would deny access to everybody except servers coming from avantgo.com. Since anybody subscribed to your channel will be retrieving them through sync servers located at avantgo.com, this will work just fine.

Using Microsoft IIS

If you are using Microsoft IIS, you should go to the Microsoft Management Console:

  1. From the Windows Start menu, choose Internet Service Manager.
  2. Right click on the directory you are using for your AvantGo channel and select Properties.
  3. On the Directory Security tab, in the IP Address and Domain Name Restrictions section, click the Edit button.
  4. Click the Denied Access radio button to deny access to all computers but ours.
  5. Then click on the Add button.
  6. Select the Domain Name radio button, and enter avantgo.com as the domain name.
Figure 8-1 Restricting access to AvantGo sync servers for IIS

 



TOC PREV NEXT INDEX