GithubHelp home page GithubHelp logo

Comments (9)

thesoftwarejedi avatar thesoftwarejedi commented on April 28, 2024

Primary risk I see is the ability of a site to unsandbox itself entirely and control the parent page. I'm unclear on the risks there.
Secondary 'risk' is storing things in LocalResources like IndexedDB would be accessible to other pages - a developer should know not to put sensitive data in there and only leverage it for indexing large amounts of public data for local querying.

from zeronet.

HelloZeroNet avatar HelloZeroNet commented on April 28, 2024

Yeah, the main problem is all site is using the same domain. Permission requesting is a good idea (maybe with other http://www.html5rocks.com/en/tutorials/security/content-security-policy/ features)
Later we can pack a sqlite server, so the clients can do queries via websocket api.

Util then please use flat json files or any format supported by alasql

Please let me know if you have any benchmark results on indexedDB vs flat json vs alasql.

from zeronet.

thesoftwarejedi avatar thesoftwarejedi commented on April 28, 2024

Will try alasql for some things. I'd like to see some sort of decentralized read, centralized yet disconnected write, secure, database synchronization framework ultimately.

I think the model makes sense for publishers of data to connect to a node, transmit changes, then unplug. Then, be able to remain offline and receive messages back when connecting - ala bitmessage.

I should write a tech doc for what I'm envisioning here.

from zeronet.

genecyber avatar genecyber commented on April 28, 2024

Can this system execute serverside nodejs?

from zeronet.

HelloZeroNet avatar HelloZeroNet commented on April 28, 2024

Not directly, but you can write files using the API. (see ZeroBlog example)

from zeronet.

HelloZeroNet avatar HelloZeroNet commented on April 28, 2024

Now its possible to use browser's localStore with ZeroFrame API:
http://zeronet.readthedocs.org/en/latest/site_development/zeroframe_api_reference/#wrappergetlocalstorage

from zeronet.

danimesq avatar danimesq commented on April 28, 2024

@HelloZeroNet @shortcutme
Do you consider implementing IndexedDB?
It can make Riot.im run inside ZeroNet.
@anoadragon453

from zeronet.

HelloZeroNet avatar HelloZeroNet commented on April 28, 2024

Not really, but you can use sqlite as indexed key-value storage

from zeronet.

danimesq avatar danimesq commented on April 28, 2024

@anoadragon453
Can it be used to port Riot.im?

from zeronet.

Related Issues (20)

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.