News for hackers. Stuff that matters.
Re:I built an online PDF management platform using open-sour... by sanusihassan on Monday May 13, 2024 @09:12PM (#40350508)
i appreciate your trust, and yeah belive me i'm deleting the files right after the processing, the way it works is that i'm saving the files uploaded as a tmp file then process it then delete them after the response.

this is how the code looks like on the server side for most of the tools:

```python ... @after_this_request def remove_file(response): os.remove(tmp_file.name) return response return response ``` i don't have any reason to keep them.

Re:I built an online PDF management platform using open-sour... by sanusihassan on Monday May 13, 2024 @09:15PM (#40350529)
indentation is not showing correctly, but you get the idea.