Coder Social home page Coder Social logo

securing RPC access about beaker HOT 8 CLOSED

beakerbrowser avatar beakerbrowser commented on July 24, 2024
securing RPC access

from beaker.

Comments (8)

pfrazee avatar pfrazee commented on July 24, 2024

Step 1 is a permissions prompt. Step 2 is hosting app code on signed hash logs, for versioning and integrity checks. Step 3 is software certificates by auditors, possibly a web-of-trust system

On Jun 6, 2016, at 4:15 PM, wanderer [email protected] wrote:

currently the way several decentralized systems (ethereum, ipfs) work with browser is to expose an RPC that is running locally. The problem with this a currently implemented is that any page could access those RPCs and do malicious things (ex. a page could access ipfs's rpc and pin some child porn).

I don't know the best way to secure this. But it would be nice to have some way to selectively expose RPCs to the pages.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from beaker.

wanderer avatar wanderer commented on July 24, 2024

how would step 1) work? Lets say we just want to drop in IPFS. It doesn't have any built mechanism to selectivily expose it's RPC to pages. So we have to have some sort of container around IPFS (or any other locally running http based RPC) that can control what is exposed and do things like permissions promets, i think...

from beaker.

pfrazee avatar pfrazee commented on July 24, 2024

Yeah we might do it that way. I dont think it'll be difficult.

from beaker.

genecyber avatar genecyber commented on July 24, 2024

Have you looked into Capn'Proto for rpc?

from beaker.

wanderer avatar wanderer commented on July 24, 2024

how could Capn'Proto be used for existing RPCs?

from beaker.

genecyber avatar genecyber commented on July 24, 2024

I haven't investigated it deep enough yet to be able to answer that, simply
wanted to point it out of you hadn't seen it yet.

On Wednesday, June 15, 2016, wanderer [email protected] wrote:

how could Capn'Proto be used for existing RPCs?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAK8ok2vQJIox82vuDEfARMCMrhzXVvsks5qMDUzgaJpZM4IvaIM
.

from beaker.

alspore avatar alspore commented on July 24, 2024

Permissioning could be achieved by creating a whitelist of domains that have access to various sandboxed protocol apis. We could display an interface similar to existing ad blocker browser extensions when a page tries to access protocols outside its previous permission state. I imagine some kind of alert box that has the option to allow specific protocols on a per page, or per domain basis. Permissions could also be set before page load based on arbitrary out of band authentication schemes.

from beaker.

pfrazee avatar pfrazee commented on July 24, 2024

@5paceManSpiff that's what I'm thinking

from beaker.

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.