RubyGems Navigation menu

cors 1.0.0

Cross-originresourcesharing(CORS)isgreat;itallowsyourvisitorsto asynchronouslyuploadfilestoe.g.FilepickerorAmazonS3,withoutthe fileshavingtoround-tripthroughyourwebserver.Unfortunately,giving youruserscompletewriteaccesstoyouronlinestoragealsoexposesyouto maliciousintent. Tocombatharmfulusage,gooduploadservicesthatallowclient-side upload,supportamechanismthatallowsyoutovalidateandsignallupload requeststoyouronlinestorage.Byvalidatingeveryrequest,youcangive yourvisitorsaniceuploadexperience,whilekeepingthebadvisitorsat bay. TheCORSgemcomeswithsupportfortheAmazonS3RESTAPI.

Gemfile
          gem 'cors', '~> 1.0.0'
  
  
  
  
  
  
  

install
          gem install cors
  
  
  
  
  
  
  

Total downloads 1,106

For this version 1,106

Required Ruby Version: None

Links:

Versions:

  1. 1.0.0 - October 30, 2012 (10 KB)

Development Dependencies: