c# - Designing for S3 -
how should design asp.net mvc application , database cater serving static content amazon's s3?
presently have images table uploaded images on local server. each image has id , local path serve from, want move static content cloud.
- what need store?
- how serve s3 content via asp.net mvc 3?
- do serve content via cached web request, or directly s3?
i've been running dedicated servers long time, i'm still learning best practices on cloud.
am correct. if images not need secture can make bucket public , allow direct access application url on s3.
however if want secure files on s3 authenticated user can use url signing , timestamp described here http://docs.amazonwebservices.com/amazons3/latest/dev/index.html?restauthentication.html
so url like
photos/puppy.jpg?awsaccesskeyid=0pn5j17hbgzht7jj3x82 &signature=rucsbh0ynecp9om2xnlouvi3bh4%3d &expires=1175139620
Comments
Post a Comment