matteobrusa / password-protection-for-static-pages Goto Github PK
View Code? Open in Web Editor NEWPassword protection for static pages
Home Page: http://matteobrusa.github.io/Password-protection-for-static-pages/
License: Apache License 2.0
Password protection for static pages
Home Page: http://matteobrusa.github.io/Password-protection-for-static-pages/
License: Apache License 2.0
Hi Matteo,
You mentioned this as a solution on AWS S3. How could we ensure no search engines indexed the new folder or anyone was able to get the folder name another way? For example listing the directory.
I want to ensure no one had access to that new folder.
Thanks
This is a great bit of code for simple password protection but I'm struggling (n00b)
My Jekyll site worked fine before I moved it into the folder, now only non-jekyll pages work. I've tried moving the _config.yml and gem files to outside of the folder but that hasn't worked either.
Repo is here: https://github.com/electronicdreamplant/memorybox3
How do i make a password?
Entered pw, made a folder with the name of the hash, then put new index in that folder but it still just says wrong pw.
first good project thx
how can i use number password using this repositery?
Google flags site as dangerous if this is used.
So, whenever I visit the hashed part if the url google flags my site as dangerous..
I think it just thinks it's a phishing site as they use these random urls usually.
The web url from which Sha1
was imported is dead.
I suggest a fix in the PR below where the import of sha1.js is local instead of remote.
Here's my gh-pages: https://sparkscratch-p.github.io/secret-database/
Here's my vercel page: https://secret-database.vercel.app/
Password: secret
Not working in vercel, but in gh
In console you can see this:
Uncaught ReferenceError: Sha1 is not defined
it does not work (at least in Chrome 71)
Browsers connecting via HTTP throw a security error and fail to display the green padlock. It might be worth specifying that on the docs/demo: https://matteobrusa.github.io/Password-protection-for-static-pages/
I am getting a 404 error saying the index.html file could not be found at:
https://tjferry14.github.io/jam-books/9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684/index.html
however
This is my index path:
/jam-books/9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684/index.html
This works really well in modern browsers, e.g. Chrome, Firefox and Edge. Do you have any tips for getting this to work in Internet Explorer? If I get it working I'll submit a pull request.
Once the correct password is entered, it redirects. Anyone could get the right password, and then distribute the redirected URL.
Hello,
Really cool idea. This might be a silly question but is the background.jpg necessary? Why is it part of the structure?
how redirect to login page back when refreshed?
It only works if index.html
and the hash folder is in the root of the repository, but not if both are in the docs folder
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.