Yes, only static file can be accessed directly.

Personaly, I don't use a .txt but a .py like "settings.py"
and all constantes, key, password,.. etc,.. are in this file.

so I can access them :
import settings
cst1 = settings.cst1
etc,...

On 30 mar, 13:58, Jay Lee <[email protected]> wrote:
> On Mar 26, 11:31 am, Jay Lee <[email protected]> wrote:
>
> > I need to make the contents of a file accessible to my application but
> > not directly accessible from the web.  I have placed the file in the
> > root of my app folder (e.g. \appengine\myapp\private.txt).  I have not
> > defined private.txt anywhere in app.yaml.  My python code does a open
> > ('private.txt') and this works great for reading in the file but I
> > need to be certain that private.txt is secure and cannot be read by
> > anything other than my python code.
>
> > Are my assumptions here correct?
>
> bump.
--~--~---------~--~----~------------~-------~--~----~
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