[google-appengine] Re: Site in development on appspot domain - restrict access to developers
What I do is require Google authentication and then check the user's email address and domain against a whitelist. I had some trouble at first because GMail addresses ignore internal periods, so for instance ad...@gmail.com and ada...@gmail.com are the same address. In fact they are also the same as ad...@googlemail.com, but I haven't worried about that case yet. I wrapped this into a class that all my request handlers descend from: class MyPage(webapp2.RequestHandler): def validate_user(self, page_template): template = JINJA_ENVIRONMENT.get_template('under_construction.html') if users.get_current_user(): url = users.create_logout_url(self.request.uri) url_linktext = 'Logout' email = users.get_current_user().email() # pylint: disable=unused-variable address, domain = email.split("@") canonical_address = address.replace('.', '') canonical_email = canonical_address + '@' + domain if (domain in WHITELISTED_DOMAINS or canonical_email in WHITELISTED_ADDRESSES): template = JINJA_ENVIRONMENT.get_template(page_template) else: logging.info('Login disallowed for: %s', email) else: url = users.create_login_url(self.request.uri) url_linktext = 'Login' template_values = { 'url': url, 'url_linktext': url_linktext, } return template, template_values Each concrete request handler begins something like this: def get(self): template, template_values = self.validate_user(PAGE_TEMPLATE) Suggestions for improvement are welcome! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] using a GAE app as a proxy
Hello, I use google app for business and have a domain setup. I have a simple (hello world) GAE app running that only allows logins from my domain and https by default. What i'd like to do is forward all http requests from this new GAE site to a locally running web server and to have the request/responses all funnel through this new GAE site. I guess you would refer to this as a proxy setup. My plan is to only allow traffic from this new GAE app into this locally running server by restricting the ip address. Can I do this? I'm using python/flask Thanks -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Error using create_bulkloader_config parameter to create bulkloader yaml file
The parameter "--url" needs to be "https" Ex: appcfg.py upload_data --config_file=bulkloader.yaml --url=https://.appspot.com/remote_api --kind= --filename=.csv Em quinta-feira, 31 de janeiro de 2013 15h38min22s UTC-2, Fábio Peruchi escreveu: > > Hi! > > I'm trying to create a blukloader config file (bulkloader_auto.yaml) using > the command below: > > appcfg.py create_bulkloader_config --filename=bulkloader_auto.yaml > --url=http://.appspot.com/_ah/remote_api > > I'm getting this error: > > Error 302: --- begin server output --- > > --- end server output --- > > I configured the remote_api on my GAE Java application using the following > in web.xml: > > > remoteapi > > com.google.apphosting.utils.remoteapi.RemoteApiServlet > > > remoteapi > /remote_api > > > Can anyone help me? > > Thanks in advance. > > Fábio Peruchi > Software Architect > e-mail / GTalk: fhpe...@ciandt.com > Ci&T - business agility > Visit us at: www.ciandt.com > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: do a simple search when ran out of complex search quota
Just curious... do you have billing enabled? The free quota limits are pretty low last I checked (100/day complex, 1000/day simple). I'm pretty sure there are no query limits if billing is enabled... I'm working on more heavily adopting the search API and I'm interested in any issues people are having with it (quota limits, high costs, etc). On Wednesday, April 30, 2014 5:03:58 AM UTC-4, Jnnese C wrote: > > > Hi, > I ran out of complex search quota, and i still have simple search quota. > But if i do a simple search , it still throws an OverQuotaException. > > Is it a normal situation? does anyone have the same issue? > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: My recent support experience (ongoing) and things Google must improve
My recommendation would be one of the following for bronze customers: 1. Give bronze customers 1 (non-billing) support ticket per month 2. Give bronze customers N tickets per year 3. Give bronze customers 1 ticket for every X dollars spent on services (1 ticket per $150 spent on services, for example... not per month but spent cumulatively). This way you're "earning" tickets based on spend rate It's really an odd type of service where you are paying for services but have limited ability to receive support. I think it sort of evolved from the old days when everything was free... then they introduced billing without a comparable support system. Eventually somebody came up with this pay for support model which I am just fundamentally against on principle... if you charge for a service you should stand-up and support the service. It just seems like the App Engine is completely free mentality still lingers a bit too much... FYI... I am also only a bronze customer (paying for services but not $150/mo for special support) and had a recent billing inquiry. The initial response took a while for me too (6 days sounds about right), however, once I received a reply I couldn't have been happier with the support I received. AFAIK I could reply to all the emails I received and I did reply 2-3 times. Once the Google support team was engaged (after initial contact) the replies came back quickly every time. My support person took a genuine interest in my case and helped resolved my issue. Once you get a hold of them, the Cloud Services support team is really good (from my experience). On Thursday, August 28, 2014 7:48:37 AM UTC-4, Kaan Soral wrote: > > I've recently created a ticket through the free billing support ( > https://support.google.com/code/contact/cloud_platform_billing?rd=1) > > After ~6 days, I got a reply (of course I supressed the issue in 6 days, 6 > days is a long long time, but it really doesn't matter) - the issue was a > minutely quota increase request > > The assigned representative was pretty excellent, contacted the > engineering team, and updated me at each step, *however*, all of the > emails are sent from noreply emails, and there is no way to reply back to > the representative, he is updating me on the issue, asking questions > related to the issue, however I can't reply to him, feels pretty bad > > In the meantime someone from engineering requested some information too, > this time from a repliable email, I think I might get a quota increment > after all (It has been 2 weeks from my request, I'm guessing I might get a > final reply soon, all my previous/ancient attempts had failed) > > My suggestion would be to implement a decent communication interface for > Bronze support too (I haven't seen the Silver/Gold interface) > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] My recent support experience (ongoing) and things Google must improve
I've recently created a ticket through the free billing support (https://support.google.com/code/contact/cloud_platform_billing?rd=1) After ~6 days, I got a reply (of course I supressed the issue in 6 days, 6 days is a long long time, but it really doesn't matter) - the issue was a minutely quota increase request The assigned representative was pretty excellent, contacted the engineering team, and updated me at each step, *however*, all of the emails are sent from noreply emails, and there is no way to reply back to the representative, he is updating me on the issue, asking questions related to the issue, however I can't reply to him, feels pretty bad In the meantime someone from engineering requested some information too, this time from a repliable email, I think I might get a quota increment after all (It has been 2 weeks from my request, I'm guessing I might get a final reply soon, all my previous/ancient attempts had failed) My suggestion would be to implement a decent communication interface for Bronze support too (I haven't seen the Silver/Gold interface) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.