Replies: 6 comments 14 replies
-
Given this is about specs/standards I'd recommend discussing this in https://github.com/libp2p/specs. Going to transfer it over there. |
Beta Was this translation helpful? Give feedback.
-
I think this specific request is an application level detail, and does not (yet) need a standard. That said, the more general form of this is about HTTP resources. For which there is this in-progress PR about how to reference them: multiformats/multiaddr#164. I link it since it's vaguely releated, but I don't mean for that PR to incorporate things mentioned in this discussion (namely user id and password as those are application specific). |
Beta Was this translation helpful? Give feedback.
-
A few thoughts on the proposal:
|
Beta Was this translation helpful? Give feedback.
-
So we have something like Windows Samba shared directories. There user rights are used, but here password is used. The ID of the computer where the file is stored is the host |
Beta Was this translation helpful? Give feedback.
-
You say you want something "clickable", but clicking on your links would open a browser that has no idea how to deal with the proposed URL. So either you make a working http url (assuming files are provided by a gateway-type of server) (as exemplified above), or you come up with a schema that explains what the operating system or eventually the browser needs to do with the URL (as exemplified above too). There is already Regarding access keys, there are many ways and having a standard would just add another one. To me it is cleaner when they go as query-param (which can be expanded with other query params when needed without breaking the original url format).
Then don't make a browser link, certainly not an HTTPS link since HTTPS will not be involved. You can't standarize a browser trick. |
Beta Was this translation helpful? Give feedback.
-
For encrypted file sharing in p2p ways that works in the browser and has local-only decryption (anchor-based keys that don't get sent around), see: https://github.com/ipfs-shipyard/ipfs-senc |
Beta Was this translation helpful? Give feedback.
-
The need for this standard is clear to everyone - we need links that we can send to a friend and he will open this link in the application and will be able to view the contents of the catalog or download a file.
There is information that is needed to do this:
This is the format I use now:
https://p2p/12D3KooWC6iB6hthfr5A8Yd13BHEBJsYRpGdkWLwwNwZtiZtJB3B:321/path/to/folder/or/file
This part - "https://p2p/" means that the file is transferred p2p.
Path means the path
321 means password
If there is no password, the link looks like this:
https://p2p/12D3KooWC6iB6hthfr5A8Yd13BHEBJsYRpGdkWLwwNwZtiZtJB3B:/path/to/folder/or/file
The ID can be any type.
Any suggestions\criticism on this format for p2p data transfer? Which can be retrieved using Libp2p.
A single API for file transfer is there, too. We will discuss later in another question.
Beta Was this translation helpful? Give feedback.
All reactions