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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Surfer
  3. Shared Access Token

Shared Access Token

Scheduled Pinned Locked Moved Solved Surfer
7 Posts 3 Posters 2.5k Views 3 Watching
  • 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.
  • J Online
    J Online
    JLX89
    wrote on last edited by
    #1

    Hello,
    We currently have Surfer setup as User Restricted Access. We'd like the ability to generate a "Shared Access Signature" or Access Token, to publish some files publicly.

    This would be mainly for sharing files publicly via URL, if we would want to distribute a specific file for download. So when someone gets a direct link with the token, they can download the file but not list anything else in the directory.

    Example: https://files.cloudron.server/public-files/file.txt?token=api6fc346eb80d8bc3cf286d08f103f8ed2

    Thank you!

    nebulonN 1 Reply Last reply
    0
    • J JLX89

      Hello,
      We currently have Surfer setup as User Restricted Access. We'd like the ability to generate a "Shared Access Signature" or Access Token, to publish some files publicly.

      This would be mainly for sharing files publicly via URL, if we would want to distribute a specific file for download. So when someone gets a direct link with the token, they can download the file but not list anything else in the directory.

      Example: https://files.cloudron.server/public-files/file.txt?token=api6fc346eb80d8bc3cf286d08f103f8ed2

      Thank you!

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by nebulon
      #2

      @JLX89 you can already use the regular REST api for this. Generate an access token via the user interface and then you can hand out links with them like:

      https://files.cloudron.server/api/files/<filepath>?accessToken=<accesstoken>
      
      J 2 Replies Last reply
      0
      • nebulonN nebulon

        @JLX89 you can already use the regular REST api for this. Generate an access token via the user interface and then you can hand out links with them like:

        https://files.cloudron.server/api/files/<filepath>?accessToken=<accesstoken>
        
        J Online
        J Online
        JLX89
        wrote on last edited by
        #3

        @nebulon Perfect, thank you! I didn't see the URL Endpoints listed in the documentation and wasn't sure if that was possible.

        1 Reply Last reply
        0
        • nebulonN nebulon

          @JLX89 you can already use the regular REST api for this. Generate an access token via the user interface and then you can hand out links with them like:

          https://files.cloudron.server/api/files/<filepath>?accessToken=<accesstoken>
          
          J Online
          J Online
          JLX89
          wrote on last edited by
          #4

          @nebulon I just sent an email to the Cloudron Support email address, it's urgent if you can take a look.

          girishG 1 Reply Last reply
          0
          • J JLX89

            @nebulon I just sent an email to the Cloudron Support email address, it's urgent if you can take a look.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @JLX89 thanks, looking into the security report.

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #6

              The latest package version has that security issue fixed.

              J 1 Reply Last reply
              0
              • nebulonN nebulon

                The latest package version has that security issue fixed.

                J Online
                J Online
                JLX89
                wrote on last edited by
                #7

                @nebulon Perfect, thank you! @nebulon @girish thanks for the fast response on this!

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search