I have an application where users can upload their documents. The problem is if I copy the url of a document I am able to view that document from any other browser and I need not to login or even open my application in browser. I want to set S3 so that only my application's users should be able to view the documents and these user should also be logged in.
S3 upload should not be view able outside the application
104 Views Asked by Asnad Atta At
1
There are 1 best solutions below
Related Questions in POSTGRESQL
- Why does adding a JOIN completely modify the query planner behaviour?
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- Aggregate and count in PostgreSQL
- Rails HABTM: Select everything a that a record 'has'
- Trigger using data from inserted row
- Select results where joined table contains records with an attribute, but without another
- DB candidate as CouchDB/Schema replacement
- How do I properly add data in SQLAlchemy?
- Postgres in Conda Environment (Ubuntu 14.04)
- How to customize the output of the Postgres Pseudo Encrypt function?
- Split a large query (2 days) into pieces to increase the speed in Postgres
- Why does pg_search prefix not work like I expect?
- extracting meta info from a table psql using information_schema
- How to query a table in the database and copy it's data into one one?
- Update a table using info from a second table and a condition from a third table in Postgresql
Related Questions in RUBY-ON-RAILS-4
- How to create dynamic pages without form_for helper in Rails?
- ActiveRecord, Rails 4: has_many :through with scoped conditions failure
- HTML partial rendered in JS view is empty
- Why does pg_search prefix not work like I expect?
- Building a simple calculator form in Rails 4
- Rsepc-rails output Capybarra best practice for learning
- Two Association Label Elements in Simple Form
- Can your controller methods route to different pages other than the default in Ruby on Rails
- How do I update create route from rails 3 to 4
- authorize with a parent resource in Pundit
- How to make different development and production declaration of my rails engine in a gemset
- Devise throws 401 unauthorized and redirects only in Production/Staging
- How to distinguish method from attribute in rails 4
- Using Rspec should_receive to test that a controller calls a method on an object correctly
- Rails: Customising SimpleForm Association Wrapper
Related Questions in AMAZON-S3
- Convert JSON.gz to JSON in node js
- Downloading objects from S3 with presigned URL
- "Access Denied" - User's Permissions to S3 Bucket
- jQuery file upload to S3 (and rails) with CORS headers
- copying file from local machine to Ubuntu 12.04 returning permission denied
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- s3cmd not working as cron-task when echos/dates are added
- AWS S3 object listing
- React-native upload image to amazons s3
- S3 restrictions on quantity of object downloads
- How to upload a photo in Meteor to S3 and have it sync to database item?
- Limit upload size to S3 with presigned URL
- dragonfly-s3 with S3 IAM user causing a forbidden 403 response from Amazon
- Split S3 files into multiple output files
Related Questions in CARRIERWAVE
- "Access Denied" - User's Permissions to S3 Bucket
- Carrierwave file upload with different file types
- How to enable certain cover images to be replaced by an admin user in a rails app?
- How to set CarrierWave's 'stor_dir' to a server location that will persist after re-running 'cap deploy'?
- Fix spurious rspec "photo can't be blank" failures for Carrierwave
- How can I make 2 uploader to point to 1 cloudinary file when using carrierwave?
- Carrierwave giving error on console
- CarrierWave's rails image uploader's controller isn't accessible to 'static_pages#home'
- Front end upload for support staff only, not users
- Carrierwave: Saving Original Filename not working
- ArgumentError - unknown SSL method `TLSv1_2'
- Rails 4: How can I use "redirect_to" with AJAX to render a partial after uploading file(s)?
- Why does my image url from Amazon S3 have AWSaccesskey and expiration even though I made the bucket public?
- Rails Carrierwave upload not uploading
- Rails Carrierwave url is nil unless queried again
Related Questions in FOG
- ArgumentError - unknown SSL method `TLSv1_2'
- Nil not turning into null in request on Fog
- How can I speed up the load time of carrierwave / fog gems
- Rails - Upload private file to Google Cloud Storage
- Rspec Carrierwave/fog/aws
- Fog Gem - Access Denied on deleting S3 file
- S3 upload should not be view able outside the application
- Carrierwave: Move version name to end of filename, instead of front
- Carrierwave uploads to S3 using fog/aws gem result in "No such file or directory @ rb_sysopen"
- Carrierwave s3 403 (Forbidden) error
- Carrierwave + Fog + S3 remove file without going through a model
- Delayed job to check if a carrierwave_direct upload has been completed and attached to a model
- gem for Rails log rotation and upload old logs to s3 bucket
- Rails sitemap generator uploading to amazon s3 with fog and carrierwave
- How to set the Content Disposition header with Paperclip / fog for a file hosted on S3?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Do the following in your uploader file,
Now the generated url will gets expired within the specified duration. Also the url will be generated based on some token eveytime. Now you can restrict the user from generating the file url.