How to check that an online file tool never uploads your file (a 5-minute test)
"Your files never leave your device." Many tools say it. You can check it yourself in five minutes, without any special skills, and you should, because the documents people drop into these tools are often contracts, IDs and bank statements. Here is a simple audit you can run on any online PDF, image or spreadsheet tool. Why a claim is not enough A web page can process a file in two ways.…
To determine if an online file tool securely handles your documents, perform a five-minute test. Most tools claim your files never leave your device, but it's important to verify this yourself. There are two primary ways a web page processes a file: server-side, which sends and processes your file on a remote machine, or client-side, where the file is read in your browser using JavaScript. The distinction lies in the network traffic.
First, open the tool's webpage and launch DevTools (usually by pressing F12 or right-clicking and selecting Inspect). Go to the Network tab, clear the log, and enable "Preserve log" to maintain a record of requests. Choose a harmless test file and run the tool. If a server-side tool is used, you'll notice a large upload request with a size close to your file and a status of 200. In contrast, a client-side tool won't show such a request.
Next, disconnect from the internet. In DevTools, switch the Network tab's throttling to Offline mode. Run the tool again. If the tool still functions, processing occurs on your device; if you encounter a network error, the task must be handled remotely.
Another method involves examining the site's security policy. Look for a Content-Security-Policy header or meta tag in the Network tab's response headers. A strict policy limiting data transfer to the site itself and a few analytics sources suggests a client-side tool. A broad policy enabling data transfer to multiple destinations should raise questions.
Lastly, try uploading a large file, such as several megabytes in size. A server-side tool will upload the file over time, with the duration dependent on your internet connection. A client-side tool, on the other hand, begins working immediately and depends on your device's processing speed. If a large file uploads slowly on a slow connection, followed by a noticeable delay in the result, this indicates a server-side process.
After conducting these tests, you can assess the tool's safety for sensitive files. If it passes all tests, it's generally safe for sensitive documents, provided the site itself is trustworthy and you're accessing the correct URL. Server-side processing is acceptable for public documents, but review the privacy policy for storage and deletion practices before uploading personal files.
If the test results are unclear, consider the tool as server-side and refrain from using it for confidential documents. Keep in mind that these tests cannot confirm what a server does with the received data or the potential risks posed by a malicious browser extension. They only answer the critical question: does this page send my file somewhere?
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to