Securing Files (Amazon s3)

Discussion in 'aMember Pro v.4' started by chucknorris, Jun 7, 2012.

  1. chucknorris

    chucknorris Member

    Joined:
    May 19, 2011
    Messages:
    44
    Does anyone know how we can secure downloadable files on our site using S3?

    I see an s3 plugin for Amember but no documentation on how to use it - and it says "
    Video link lifetime"

    The files on S3 I want to protect are .zip files.
  2. goexcel

    goexcel Member

    Joined:
    Oct 19, 2011
    Messages:
    47
    It sure would be helpful to have more substantial documentation. I've been chomping at the bit to use the S3 plugin, in addition to learning other features of Amember.

    Alex, do you have any plans to creating more documentation?

    With all the great screen capture software available, it would not be difficult to knock out a couple videos a week. By the end of a year, there would be over 100 videos which would be beneficial to your customers, and ultimately be a great selling point. And, it would like reduce the amount of questions to the help desk.

    I have to admit, I've been very frustrated with the lack of version 4 documentation, despite how long it has been released for.
  3. flidget

    flidget New Member

    Joined:
    Feb 22, 2012
    Messages:
    1
    I agree. There is no use in developing a feature if nobody knows how to use it?
  4. siansell

    siansell New Member

    Joined:
    Oct 2, 2012
    Messages:
    8
    Is there any documentation yet for this plugin? I'm trying to get it working but aMember can't see any files in my S3 bucket. Do I need to set access permissions on the files or bucket itself somehow?
  5. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
  6. siansell

    siansell New Member

    Joined:
    Oct 2, 2012
    Messages:
    8
    Thanks, I'd done everything in that video already. aMember connects to S3 ok (I think, at least it doesn't error) but isn't seeing any of the files in my S3 bucket, which I suspect is because of my bucket settings. I've tried tinkering with the access permissions/policies but with no success.
  7. siansell

    siansell New Member

    Joined:
    Oct 2, 2012
    Messages:
    8

    OK, I've done some hacking (I'm a PHP dev...) and the S3 class listBuckets() call was failing, with error RequestTimeTooSkewed.

    S3 uses the current time to authenticate requests and the system clock on my web server was incorrect. Have corrected it and is working properly now.
  8. caroline

    caroline New Member

    Joined:
    Aug 29, 2006
    Messages:
    4
    I am having the same trouble with the files in my bucket not being shown in aMember. Can anyone provide a solution? How can I tell if this system clock is the issue on my server? Any help is much appreciated.
  9. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please contact us in helpdesk we will check what can be wrong.
  10. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    how do you protect content in S3 again?

    you mentioned you'd get into that in another video, so just curious is there a way to protect all content on a per URL basis (so to limit the access to only mydomain.com requests?) or another way to show it only to amember or something?
  11. gswaim

    gswaim CGI-Central Partner

    Joined:
    Jul 2, 2003
    Messages:
    641
    Miso,

    You set the ACL settings on the file (or an entire bucket) to only be accessible by the owner (this is handled within S3). Then aMember retrieves the file with the owner's credentials. The URL generated by aMember to fetch the file will expire in the number of minutes defined in the plugin configuration.
  12. japster24

    japster24 New Member

    Joined:
    Jan 22, 2013
    Messages:
    2
    Same issue here...I can see my buckets, but the video files are not showing up. The server is controlled by GoDaddy, so not sure how I'd even have access to the system clock if it were wrong. What can I do?
  13. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Make sure that you don't use any special chars in you bucket names. Also use only lowercase symbols. If the problem still exists, contact us in help desk

Share This Page