def authorize():
  sender = bottle.request['REMOTE_ADDR']
  if not sender.startswith('10.'):
    logging.info('Untrusted %s requested %s with data %s',
                 sender, bottle.request.fullpath, bottle.request.forms.items())
    bottle.abort(401, 'Your request does not include the right authorization.')
Attempt to find a facebook user using a cookie.
dataset/ETHPy150Open GoogleCloudPlatform/compute-hadoop-java-python/hadoop/common_snitch.py/authorize--crossover with--dataset/ETHPy150Open aidanlister/django-facebook/django_facebook/middleware.py/FacebookMiddleware.get_fb_user_cookie