Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 939 posts 2574 karma points
    Jun 15, 2022 @ 11:48
    Claushingebjerg
    0

    403 error on images uploaded with forms

    So i have a site, where users can create events thorugh Umbraco Forms (8.10.2), from the front end. The events are saved as nodes in the content tree. There is a file upload data type on the form, that maps to a file upload datatype on the content node.

    The problem is that the uploaded image returns 403 on the frontend - unless im logged in. Thats not really useable.

    How do i get rid of the 403.

    the url is like: https://www.mysite.com/media/forms/upload/form_e37765cb-a899-4c02-a62a-48e040cb311a/6d4f2847-0b52-4e2a-b01c-4679f......./img.jpg

    This was not an issue on earlier versions, so there must be a setting introduced somewhere...

  • Claushingebjerg 939 posts 2574 karma points
    Jun 20, 2022 @ 13:00
    Claushingebjerg
    100

    in applugins/umbracoforms/umbracoforms.config set

      <setting key="DisableFileUploadAccessProtection" value="True" />
    

    It seems to be set to false by default.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies