File and Object Storage

Expand all | Collapse all

Restricting Access to a Specific domain

  • 1.  Restricting Access to a Specific domain

    Posted Wed December 16, 2020 01:04 PM

    Hello.

    I'm not an experienced user, so I'm having an issue with the following subject.

    I have a bucket with some files in it(videos or images).
    My goal is to display those files so they can be viewed only from my website/domain but could not be linked or viewed in other websites or directly through the URL.(so my bill dont go over the top)

    I've seen this working quite well in Vimeo and other video sharing sites. But also found a tutorial on amazon S3 on how to achieve this in their s3 buckets(Bucket Policy Examples).

    Can someone tell me if this is possible in COS buckets?

    If possible can someone give me some tips on how easily achieve this?



    ------------------------------
    Armando Reixa
    ------------------------------



  • 2.  RE: Restricting Access to a Specific domain

    Posted 8 days ago
    yes, you can do. You can share these files but 1st of all you need to connect your domain with your hosting through DNS then you can live the website.

    ------------------------------
    John Dshaely
    ------------------------------