Open dominicletz opened 3 years ago
The idea is to make using diode simpler in mixed web2/web3 environments and be able to publish a site with password protection.
Example:
diode http -password "secret" 8080
Would do the same as:
diode publish -public 8080:80
but add password protection to the site
Since password protection can only work for websites the command "http" is introduced that ensure it's about tunneling a website.
Another method would be to use metamask authentication such as in:
diode http -metamask 0x1234567890 8080
Which would require metamask login (https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial) from the id 0x1234567890 to get access.
The idea is to make using diode simpler in mixed web2/web3 environments and be able to publish a site with password protection.
Example:
Would do the same as:
but add password protection to the site
Since password protection can only work for websites the command "http" is introduced that ensure it's about tunneling a website.
Another method would be to use metamask authentication such as in:
Which would require metamask login (https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial) from the id 0x1234567890 to get access.