Is it possible that a website is built in such a way that when I upload a pdf to the website, something else in my folder will also be uploaded?

For example I am using the newest version of firefox and want to upload some pdf files to be merged into one at one of the website used to merge pdf. Would it be possible for the website to also upload some other something else in my folde… Continue reading Is it possible that a website is built in such a way that when I upload a pdf to the website, something else in my folder will also be uploaded?

Backdoor:PHP/Webshell.O virus detected in an uploaded image file. Should I be worried? How can I prevent it?

I have a site which allows users to upload images. One uploaded file was recently detected by antivirus software (uploads aren’t scanned, this was a system wide scan after)
Upon upload, I check the file extension, the MIME type and also us… Continue reading Backdoor:PHP/Webshell.O virus detected in an uploaded image file. Should I be worried? How can I prevent it?

To ensure that the image file is automatically saved to Gallery on the Android device from the created link [closed]

I have an image file. I want to create a download link to the file in the html. How can I get the file to be automatically saved in gallery on android phone when I visit the download link? using HTML or using Python.?

Continue reading To ensure that the image file is automatically saved to Gallery on the Android device from the created link [closed]

How to handle mime types, file extension and magic number on file upload, renaming and file download?

I am writing a simple server for file uploading. I want to be able to rename uploaded files (including the file extension) and download files.
For validating the file to upload my plan was to check if the mime type, the file extension and … Continue reading How to handle mime types, file extension and magic number on file upload, renaming and file download?

How to create a download link without automatically prompting the file with a link? [closed]

There is an image file. How do I convert it to a download link or embed it in a download link? How do I get the image file to download automatically silently, without asking, as soon as a link is clicked?

Continue reading How to create a download link without automatically prompting the file with a link? [closed]

How to create a download link without automatically prompting the file with a link? [closed]

There is an image file. How do I convert it to a download link or embed it in a download link? How do I get the image file to download automatically silently, without asking, as soon as a link is clicked?

Continue reading How to create a download link without automatically prompting the file with a link? [closed]