Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved About links

    Cubby
    2
    3
    120
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jeau
      jeau App Dev last edited by

      I'm considering using Cubby as a remote shared images repository for an IIIF Cantaloupe server.

      I have a question about the links, what is the difference between the open link and share link? both provide public access to the file. The former offers access via the API but is it useful in the backend? It unnecessarily exposes an access token for all files. Am I wrong?

      There is a feature I would like to have: for each directory, download in csv format the list of files with for each file: name, uptated date, size and share link (and gift for my use case only the SID).

      I noticed that the blog https://blog.getcubby.org/ is down.

      1 Reply Last reply Reply Quote 0
      • Topic has been marked as a question  nebulon nebulon 
      • nebulon
        nebulon Staff last edited by

        Indeed, the open link contains the access token. The intention here was to just be able to open a specific file in a new tab, not to share this link, but I can see how this is easily misused. For better handling, I think I would need to implement a local cookie based session, which is currently not done.

        So for your use-case, the share link seems to be the correct one.

        (thanks for the hint about the blog. It is up again)

        1 Reply Last reply Reply Quote 1
        • nebulon
          nebulon Staff last edited by

          This was fixed some versions ago by implementing session based auth

          1 Reply Last reply Reply Quote 1
          • Topic has been marked as solved  nebulon nebulon 
          • First post
            Last post
          Powered by NodeBB