Re: [google-appengine] Private module

2013-09-27 Thread Francois Masurel
Created an issue :  
https://code.google.com/p/googleappengine/issues/detail?id=10026


On Thursday, September 26, 2013 8:44:54 PM UTC+2, Vinny P wrote:

 On Thu, Sep 26, 2013 at 11:13 AM, Francois Masurel 
 f.ma...@gmail.comjavascript:
  wrote:

 I guess I could use a cryptic version name to be sure no spam bot will 
 ever wake up some of my modules (and cost me some $).



 What I do is map the root module directory to a static page via the 
 welcome file setting in web.xml ( 
 https://developers.google.com/appengine/docs/java/config/webxml#The_Welcome_File_List).
  That way instances won't respond to a spam bot attempting to index. 
 Admittedly, you'll have to remap your handlers so they don't use the root 
 path for requests.



 On Thu, Sep 26, 2013 at 11:13 AM, Francois Masurel 
 f.ma...@gmail.comjavascript:
  wrote:

 It would be better if Google could provide a simple way to make them 
 private and hide them from the outside.



 +1. 
  
 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.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/groups/opt_out.


Re: [google-appengine] Private module

2013-09-26 Thread Vinny P
On Wed, Sep 25, 2013 at 11:51 AM, Francois Masurel f.masu...@gmail.com
 wrote:

 Is it possible to make a module private (as it was the default with
 backends) ?

 I'm only using modules for long task processing so I don't need and I
 don't want to have them publicly available.



Hi Francois,

To make a module private, create a dispatch file and set it to *login: admin
* in the handlers section.

See this page for further documentation:
https://developers.google.com/appengine/docs/java/modules/routing and
scroll down to the bottom of the section *Addressing Instances*.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.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/groups/opt_out.


Re: [google-appengine] Private module

2013-09-26 Thread Francois MASUREL
Hi Vinny,

Thanx for answering.

I'm indeed using Java and already set a security constraint on /* to
restrict access to admin only.

It works fine but a new instance is started everytime one of my backend URL
is called.

Backends were not reachable from the Internet unless stated public.

I would like to have something similar for my modules.

And thanx for all your helping answers on this forum.

François



François Masurel


On Thu, Sep 26, 2013 at 5:35 PM, Vinny P vinny...@gmail.com wrote:

 On Wed, Sep 25, 2013 at 11:51 AM, Francois Masurel f.masu...@gmail.com
  wrote:

 Is it possible to make a module private (as it was the default with
 backends) ?

 I'm only using modules for long task processing so I don't need and I
 don't want to have them publicly available.



 Hi Francois,

 To make a module private, create a dispatch file and set it to *login:
 admin* in the handlers section.

 See this page for further documentation:
 https://developers.google.com/appengine/docs/java/modules/routing and
 scroll down to the bottom of the section *Addressing Instances*.


 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/KvaLdfCEEDA/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: [google-appengine] Private module

2013-09-26 Thread Francois Masurel
I guess I could use a cryptic version name to be sure no spam bot will ever 
wake up some of my modules (and cost me some $).

It would be better if Google could provide a simple way to make them 
private and hide them from the outside.



On Thursday, September 26, 2013 5:40:31 PM UTC+2, Francois MASUREL wrote:

 Hi Vinny,

 Thanx for answering.

 I'm indeed using Java and already set a security constraint on /* to 
 restrict access to admin only.

 It works fine but a new instance is started everytime one of my backend 
 URL is called.

 Backends were not reachable from the Internet unless stated public.

 I would like to have something similar for my modules.

 And thanx for all your helping answers on this forum.

 François



 François Masurel


 On Thu, Sep 26, 2013 at 5:35 PM, Vinny P vinn...@gmail.com 
 javascript:wrote:

 On Wed, Sep 25, 2013 at 11:51 AM, Francois Masurel 
 f.ma...@gmail.comjavascript:
  wrote:

 Is it possible to make a module private (as it was the default with 
 backends) ?

 I'm only using modules for long task processing so I don't need and I 
 don't want to have them publicly available.



 Hi Francois,

 To make a module private, create a dispatch file and set it to *login: 
 admin* in the handlers section. 

 See this page for further documentation: 
 https://developers.google.com/appengine/docs/java/modules/routing and 
 scroll down to the bottom of the section *Addressing Instances*.
   
  
 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com
  
  -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-appengine/KvaLdfCEEDA/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to 
 google-appengi...@googlegroups.com javascript:.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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/groups/opt_out.


Re: [google-appengine] Private module

2013-09-26 Thread Vinny P
On Thu, Sep 26, 2013 at 11:13 AM, Francois Masurel f.masu...@gmail.com
 wrote:

 I guess I could use a cryptic version name to be sure no spam bot will
 ever wake up some of my modules (and cost me some $).



What I do is map the root module directory to a static page via the welcome
file setting in web.xml (
https://developers.google.com/appengine/docs/java/config/webxml#The_Welcome_File_List).
That way instances won't respond to a spam bot attempting to index.
Admittedly, you'll have to remap your handlers so they don't use the root
path for requests.



On Thu, Sep 26, 2013 at 11:13 AM, Francois Masurel f.masu...@gmail.com
 wrote:

 It would be better if Google could provide a simple way to make them
 private and hide them from the outside.



+1.

-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.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/groups/opt_out.


Re: [google-appengine] Private module

2013-09-26 Thread Francois MASUREL
Hey Vinny, you're totally right, I should have thought about it.

I just added a welcome static file and favicon and no more instance loading
when the root path is accessed.

Sadly it works only for a few predetermined urls.

Thanx again for your help.


François Masurel


On Thu, Sep 26, 2013 at 8:44 PM, Vinny P vinny...@gmail.com wrote:

 On Thu, Sep 26, 2013 at 11:13 AM, Francois Masurel f.masu...@gmail.com
  wrote:

 I guess I could use a cryptic version name to be sure no spam bot will
 ever wake up some of my modules (and cost me some $).



 What I do is map the root module directory to a static page via the
 welcome file setting in web.xml (
 https://developers.google.com/appengine/docs/java/config/webxml#The_Welcome_File_List).
  That way instances won't respond to a spam bot attempting to index.
 Admittedly, you'll have to remap your handlers so they don't use the root
 path for requests.



 On Thu, Sep 26, 2013 at 11:13 AM, Francois Masurel f.masu...@gmail.com
  wrote:

 It would be better if Google could provide a simple way to make them
 private and hide them from the outside.



 +1.

 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/KvaLdfCEEDA/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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/groups/opt_out.


-- 
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/groups/opt_out.