Thanks @barry Can i add [login: admin] in nodeJS?
Added below config in my app.yaml and when i try to view appspot URL it throws 403 : forbidden runtime: nodejs handlers: - url: /.* script: IGNORED login: admin On Friday, February 3, 2017 at 4:31:44 PM UTC+5:30, barryhunter wrote: > > Probably the easiest way is to use robots.txt http://www.robotstxt.org/ > > But its only honorary, engines *choose *to honour it. Google Search > should with time. > > > Could also add [ login: required ] to app.yaml to make need logging into > view (that prevents crawlers accessing it!) > > https://cloud.google.com/appengine/docs/python/config/appref > > > Or can implment some custom logic in the application itself. Check for > some cookie, or even a white listed list of IPs etc, and only show the site > if match. > > > On 3 February 2017 at 10:24, himanshu kapoor <[email protected] > <javascript:>> wrote: > >> Hi, >> >> I have my staging environment running on appspot URL but it is searchable >> on google search though it is conflicting with my production URL. >> Can i remove staging appspot URL for search or make it private? >> >> Thanks >> Himanshu Kapoor >> >> -- >> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/google-appengine. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-appengine/a611b03f-7086-4cca-a9e7-c9266a84aaa2%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-appengine/a611b03f-7086-4cca-a9e7-c9266a84aaa2%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/966ad70f-4576-4cc6-aea2-8988eb784c0b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
