On Fri, Oct 10, 2008 at 9:24 PM, Venkatesh Rangarajan
<[EMAIL PROTECTED]> wrote:
> Well,
>
> If you do that, then you have to Open media.<yourdomain> to public. You have
> to give read access to public.
>
> its a choice one can make..that basically makes all of your files structure
> public and anybody can download them. All of them at one go.

You can just set read access on the specific objects, you dont need to
give access to the whole bucket. And without access to the bucket
itself cant get a listing of all objects.

>
> By you using URL fetch, appengine is the gatekeeper and you can have stats/
> ads and any other functionality you want.
>
> Rgds,
> Venkatesh
>
> On Fri, Oct 10, 2008 at 12:05 PM, yejun <[EMAIL PROTECTED]> wrote:
>>
>> Why not serve file from S3 directly?
>>
>> On Oct 10, 1:38 pm, "Venkatesh Rangarajan"
>> <[EMAIL PROTECTED]> wrote:
>> > Phtq,
>> >
>> > Its better if you host your static files in Amazon S3.
>> >
>> > You can create a new subdomain...say media.<your domain name>.com on S3
>> >
>> > And when in appengine, you reference that file, all you have to do a is
>> > a
>> > urlfetch
>> >
>> > Sample : urlfetch.fetch('http://media.<your domain>.com/mp3/' + <file
>> > name>)
>> >
>> > you can use amazon S3 organizer to upload files to S3. Its as simple as
>> > FTP.
>> > Link
>> > :https://addons.mozilla.org/en-US/firefox/addon/3247https://addons.mozilla.org/en-US/firefox/addon/3247
>> >
>> > Rgds,
>> > Venkatesh
>> >
>> > On Fri, Oct 10, 2008 at 9:54 AM, Barry Hunter
>> > <[EMAIL PROTECTED]>wrote:
>> >
>> >
>> >
>> > > Couple of options:
>> >
>> > > Host the 'static' files elsewhere (eg Amazon S3 - esp as it will soon
>> > > have a CDN)
>> >
>> > > Store the files in the datastore, and serve them dynamically via a
>> > > script. (be careful to set good caching headers to avoid wasting
>> > > resources)
>> >
>> > > Store the files in zip files (beware a 1Mb limit) and dynamicially
>> > > serve them via a script. (not recommended)
>> >
>> > > You have 10 'apps', distribute your static files around other
>> > > installations.
>> >
>> > > On Fri, Oct 10, 2008 at 3:36 AM, phtq <[EMAIL PROTECTED]>
>> > > wrote:
>> >
>> > > > We have an application we want to put online but it contains about
>> > > > 8,000 files (these are mp3, gif, swf, html, etc) in the English
>> > > > version alone. We tested a cut down version online and it worked
>> > > > fine,
>> > > > but when we try to put up the whole application for testing we get a
>> > > > fail message from the uploader.
>> >
>> > > > Is it going to impossible to mount this application in
>> > > > GoogleAppEngine?
>> >
>> > > --
>> > > Barry
>> >
>> > > -www.nearby.org.uk-www.geograph.org.uk-
>>
>
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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