That's because it's not a guaranteed blacklist. You're supposed to use the
DoS API to prevent a massive attack, not as an ACL. If you need to
whitelist, you'll have to write the whitelist programmatically as either a
WSGIMiddleware (Python) or ServletFilter (Java).

On Wed, Mar 31, 2010 at 10:40 AM, Tom Wu <service.g2...@gmail.com> wrote:

> Hi Nick,
>
> Only see the blacklist(Deny) syntax in dos.yaml. How about the
> whitelist(Allow) in dos.yaml ?
> The .htaccess of Apache can provide two way ip restriction.
>
> Kind Regards
> Tom Wu
>
>
>
>
> 2010/4/1 Nick Johnson (Google) <nick.john...@google.com>
>
> Hi J,
>>
>> The recently released DoS API is designed for just this:
>> http://code.google.com/appengine/docs/python/config/dos.html
>>
>> -Nick Johnson
>>
>>
>> On Wed, Mar 31, 2010 at 5:50 PM, J <j.si...@earlystageit.com> wrote:
>>
>>> I am looking to restrict my web site and deny access from a set of IP
>>> addresses, much like the Apache mod_access module does.
>>>
>>> Would have expected to be able to specify it in app.yaml somehow (GAE/
>>> Python). Any suggestions welcome.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appeng...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine?hl=en.
>>>
>>>
>>
>>
>> --
>> Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd.
>> :: Registered in Dublin, Ireland, Registration Number: 368047
>> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
>> 368047
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to