Code Monkey home page Code Monkey logo

Comments (9)

dr5hn avatar dr5hn commented on June 27, 2024 1

@DiegoFleitas Thanks for the heads up!

Will fix it up soon.

from ilovejson.

DiegoFleitas avatar DiegoFleitas commented on June 27, 2024 1

The notice should be correct now we fixed the cron expression.
Good day

from ilovejson.

DiegoFleitas avatar DiegoFleitas commented on June 27, 2024

Until this issue is deal with I suggest people to use https://jsonformatter.org/csv-to-json
It's not open source but the FAQ states it only saves JSON files you explicitly click save on & warns the user that saved links are public unless logged in.

from ilovejson.

dr5hn avatar dr5hn commented on June 27, 2024

@DiegoFleitas Security concern has been solved now.

from ilovejson.

DiegoFleitas avatar DiegoFleitas commented on June 27, 2024

@DiegoFleitas Security concern has been solved now.

Hi Darshan, thanks for the update, but the issue has not been solved.
I've just tried it and the file is still uploaded publicly on your server after the 2 minutes mark.
It wasn't deleted after 2 minutes as the notice claims.
ex: https://www.ilovejson.com/downloads/csvtojson/1653240635437.json
@dr5hn

from ilovejson.

DiegoFleitas avatar DiegoFleitas commented on June 27, 2024

@DiegoFleitas Security concern has been solved now.

Hi Darshan, thanks for the update, but the issue has not been solved. I've just tried it and the file is still uploaded publicly on your server after the 2 minutes mark. It wasn't deleted after 2 minutes as the notice claims. ex: https://www.ilovejson.com/downloads/csvtojson/1653240635437.json @dr5hn

Following up since the URL I posted is not accesible anymore.
The majority of files uploaded seem to still be kept on your server as you can see with a simple request you get the data the uploaded file contained regardless how much time passes. You should know It is not honest to tell a user his data is deleted when it is not - and in some contexts might actually be illegal - I believe you are knowledgeable enough to do the right thing @dr5hn

from ilovejson.

dr5hn avatar dr5hn commented on June 27, 2024

@DiegoFleitas Thanks for your concern. I really appreciate you putting your time into finding security flows within the package.

I will update the notice and say "Your files will be publicly available until 2mins"

Regarding the old CDN server, I have deleted that server, That server doesn't exist anymore so the files are gone now.

I've migrated the app from Heroku to VPS and added a cronjob to delete uploaded files.

Configuration screenshot
Screenshot 2022-05-25 at 12 48 20 PM

I don't know why it didn't delete your files at the 2mins mark.

Can you help me on how do I solve this issue more efficiently?

from ilovejson.

DiegoFleitas avatar DiegoFleitas commented on June 27, 2024

Hey, glad you are working on this.
It seems your cronjob expression is not doing exactly what you want, instead of running every two minutes is written to run at minute 2. The correct expression would be
*/2 * * * *
Its a common error, I personally double check my cron expressions with something like https://crontab.guru/#/2_*_
@dr5hn

from ilovejson.

dr5hn avatar dr5hn commented on June 27, 2024

@DiegoFleitas Oh Man, My Bad! Thanks!

I've fixed the cron configuration!
Screenshot 2022-05-26 at 5 50 07 PM

Also can you please help me with updating the notice's wordings? What should it say?

from ilovejson.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.