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 <[email protected]> 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) <[email protected]>
>
> 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 <[email protected]> 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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<google-appengine%[email protected]>
>>> .
>>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine%[email protected]>
>> .
>> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to