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.

Versions:

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

Development Dependencies:

Authors:

  • Kim Burgestrand

Owners:

B67b73b5b1fd84119ec788b1c3df02ad

Total downloads 1,108

For this version 1,108

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'cors', '~> 1.0.0' = Copy to clipboard Copied!

install:
gem install cors = Copy to clipboard Copied!

Links: