File Upload Element Attributes – No URL? Filesize?

Home Forums Quform WordPress File Upload Element Attributes – No URL? Filesize?

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26592
    katw
    Participant

    Hi a few questions regarding File Upload elements:

    Question 1: No URL

    Looking at your getValueHTML() function for File Upload elements I have a question.

    Under what circumstance? would a file upload element have no URL?

    Question 2: File size

    File size attribute is that in bytes? So dividing value by 1024 will give k?

    Question 3: File type

    Is that MIME type? And how is that determined at time of upload? By extension?

    Question 4: Security

    If a file type is not in in the included list. Can a user rename file and bypass the check?

    Is there a way to protect the files once uploaded? Ie must be logged in to access? Any suggestions?

    Thanks again

    #26602
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #26607
    katw
    Participant

    Thanks.

    1. Not sure what benefit file upload is without file being uploaded?? My head hurts on this one

    2,3. Awesome, the link helps heaps

    4. Ok, thought so

    5. Was aware of this but didn’t know how it would affect the plugin when saving files. Is it excused from security check?

    #26664
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #26668
    katw
    Participant

    Thank you very much for that explanation. Close ticket

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy