SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot behati's Avatar
    Join Date
    Feb 2012
    Location
    Copenhagen, Denmark
    Posts
    152
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question FileSystem Security with MetaData ? (CDN)

    Hey guys!

    I'm currently building an interface for a FileManager that has an internet root directory hosted on a Cloud Service (RackSpace Cloud Files to be precise) - and I've got it succesfully connected so that's all coming together.
    However, the directory in the cloud is being published using the CDN protocol, meaning that it has a valid internet URL, meaning that anyone with that URL can go in and grab the files which is unacceptable for obvious reasons.

    It seems that the usual approach is to use MetaData to add values that apply to the files/directories, but I've never really used any MetaData other than the standard HTML page header info.

    In my head, MetaData is just descriptive Data like tags?

    Has anyone tried anything like this, or have any ideas?

    Basically, I have the option to apply MetaData "Names" --> "Values", so I'm guessing there are some rules that can be applied to deny access, or redirect to a chosen URL?
    And, is there a way for the rules to destinguish between any user and my FileManager application, or do I have to write some custom security protocol?


    Thanks in advance!

    /behati

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Why put files on a CDN is people are not suppose to access it? That makes no sense. You use a CDN so your content goes out to as many edge nodes as possible to users get fast downloads no matter where they are located in the world. Using a CDN for private files only make sense if you have a corporate network spread about the world. But that would have been setup to be private via a firewall and VPN.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Zealot behati's Avatar
    Join Date
    Feb 2012
    Location
    Copenhagen, Denmark
    Posts
    152
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logic_earth View Post
    Using a CDN for private files only make sense if you have a corporate network spread about the world. But that would have been setup to be private via a firewall and VPN.
    That is the case, the client is a process engineering firm with employees working on-site around the world who need to be able this closed filesystem!


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •