-
Notifications
You must be signed in to change notification settings - Fork 30
Is it possible now to use authenticate http token request? #234
Comments
Hi, I think access control via tokens is not implemented yet:
|
@lidel Hi! It means that I cannot create any token to make http request and do something? |
There are no tokens in current implementation. You have full (writable) API at port
That is what you have to work with right now. One way to do it, is to add a reverse HTTP proxy as a gatekeeper. I think you should be able to find ready-to-use projects that do just that. |
Correct me if I'm wrong understood. No it it's impossible to include tokens implementation, but we can do the same things using oauth or doorman? |
Tokens are possible, but not implemented yet. You need to use third-party solution for now. |
@lidel thanks a lot! If you don't mind could, can I get one other question? Are there any example how to integrate ipfs with with libraries? May be you know |
If your question was about things like doorman or other auth2 proxies, no, I did not see any examples, sorry. If you ask about embedding IPFS library inside of your application to work around security concerns related to HTTP API, then yes. It may be more difficult, but you can do it with both JS and Go versions:
|
@lidel Thanks! |
Tokens are only for securing access to HTTP API. Read-only data itself is not encrypted in IPFS. Hard to say if IPFS is the right match for your product without going deep into specifics (and I am afraid i don't have bandwidth for that 🙃 ), but I'll point you to some relevant reading material that may help you in making decision:
Sadly this repository is not a place for this kind of discussion – I suggest closing this issue and asking questions at https://github.com/ipfs/faq/ or http://ipfs.trydiscourse.com/c/help. You may get better answers there. |
I have found some issues where were discussions about http tokens? But it was about half year ago.
Is it possible now can someone point me to that have to do to implement this.
And is it possible to set any permissions to tokens, for example, one token can read all files, and another one can read only limited quantity?
Thanks advance
The text was updated successfully, but these errors were encountered: