Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Can I update a img or txt to ipfs and make it private? #1804

Closed
pth1080 opened this issue Jan 4, 2019 · 2 comments
Closed

Can I update a img or txt to ipfs and make it private? #1804

pth1080 opened this issue Jan 4, 2019 · 2 comments

Comments

@pth1080
Copy link

pth1080 commented Jan 4, 2019

No description provided.

@VandeurenGlenn
Copy link

I'm not sure this is the place to ask @halley801.
You can create a private network or you can encrypt the file before adding it.

@alanshaw
Copy link
Member

@halley801 yes best to discuss this on https://discuss.ipfs.io/

There's no best practice or turorial for encrypting content before you add it to IPFS and there's no direct APIs for doing it. However js-ipfs does export the libp2p-crypto module which exposes a bunch of functions that would help you towards that goal.

If you do manage to get this working I would welcome a PR to add a turorial as this is a question asked relatively frequently.

For private networking, you should take a look at https://github.com/libp2p/js-libp2p-pnet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants