Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password for each data set #154

Open
dskyeong opened this issue Dec 26, 2019 · 8 comments
Open

Password for each data set #154

dskyeong opened this issue Dec 26, 2019 · 8 comments

Comments

@dskyeong
Copy link

Hi, I've installed cell browser 0.7.1.
Before releasing data, we need to keep it in personal.
Please, let me know how I can set the authority for each data set.
Thank you

@maximilianh
Copy link
Owner

maximilianh commented Dec 27, 2019 via email

@Gibbsdavidl
Copy link

I found a partial solution for this: https://github.com/matteobrusa/Password-protection-for-static-pages

Essentially, a password is used to create a long hash, which is then used as a directory name... you create that directory (with the hash as name) and you pop the index.html (and other files) into that hashed directory. works well.

@lijxug
Copy link

lijxug commented Sep 1, 2021

Waiting for a secured access to the website, too.
I followed what Gibbsdavidl recommended. The web page didn't redirect, wierd.

@maximilianh
Copy link
Owner

@lijxug can you explain what you are trying to do? In principle, if you want a protected URL to send to your users, you can simply create a URL that is very hard to guess. That should be sufficient. The solution by @Gibbsdavidl is not a real password, it just redirects, so if you send around URLs, you don't need the URL.

Also, you can simply activate normal htaccess passwords in your webserver: https://www.digitalocean.com/community/tutorials/how-to-set-up-password-authentication-with-apache-on-ubuntu-14-04

@lijxug
Copy link

lijxug commented Sep 1, 2021

@maximilianh Yes, that's a partial solution. I've made some changes to that index.html and eventually made it work.

Basically, I have constructed a webpage using your browser. Then I want to send the link directed to the browser only for my coworkers. So I need a password to protect this data set.

Here is what I did:
clone the https://github.com/ulfaslak/Password-protection-for-static-pages repo because he fixed the sha1 loading problem.
hosted the server with cdBuild
open the original index.html, insert the codes suggested by matteobrusa/Password-protection-for-static-pages#22 after the <script> line.
generate the sha1 hash string and rename the original index.html as .html
cp index.html from the aforementioned repo to replace the original one. cp the sha1.js to the root of the website as well.

I'll admit that this is quite ugly. But it works for me. The webpage now requires a password and reveals none of the sha1 string in the url.

I will try your solution for apache later as well. But right now I am pretty satisfied by this redirecting solution. ;-p

@maximilianh
Copy link
Owner

maximilianh commented Sep 1, 2021 via email

@lijxug
Copy link

lijxug commented Sep 9, 2021

@maximilianh No, that's just a temporal web browser for my coworkers right now.
This project is not ready to publish yet, but we appreciate your offer and will definitely consider it in the future!

@maximilianh
Copy link
Owner

maximilianh commented Sep 9, 2021 via email

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

No branches or pull requests

4 participants