Reputation: 7629
i am building a project in which i have to retrieve text content of a file,i read this article https://developers.google.com/appengine/docs/java/gettingstarted/staticfiles .in this article i can store file in the war/ directory and access it.but it is publicly accessible any one can access this file my file contain some sensitive data where to store this file and how to access it?? please guideline!!
Upvotes: 1
Views: 3766
Reputation: 35276
You need to designate static file as described here:
https://developers.google.com/appengine/docs/java/config/appconfig#Static_Files_and_Resource_Files
Upvotes: 3
Reputation: 8806
You can definitely store statis files and process them as required in your application. Please keep your files into a folder that is not directly accessible by others.
I suggest the following:
/WEB-INF/myfiles
or some folder like that inside of the /WEB-INF
folder.Hope this helps.
Upvotes: 1