password protecting an html page
- Started
- Last post
- 2 Responses
- hans_glib
I need to password a page on a very simple level (really don't want to get into php etc if i can avoid it) and this seems to fit the bill, but wtf do i know?
https://www.maxlaumeister.com/cl…
what do you techy gurus out there think of it? any good or useless?
here's hoping you experts can help
- detritus2
Easiest/best way to password protect something on a server you have access to is to password protect the folder server-side, using something an .htaccess rule.
This claims to encrpyt the html itself, which sounds complicating and or nt quite as ideal as it makes out - if something's entirely in client-side javascript, it can only really fundamentally rely upon obfuscation as protection = no protection at all.
- eg. https://davidwalsh.n…detritus
- Jesus christ, i didn't even drink last night. Just pretend all that made some sort of sense.detritus
- yep .htaccess is a v.simple methodfadein11
- A really shabby alternative is to use a gobbledygook folder name that's unlinked from anywhere. Ok for temporary 'private' sharing.detritus
- ...which strikes me as being fundamentalyy the same as the JS/HTML thing you linked.detritus
- hans_glib0
ta - i had the htaccess thing down as a back-up, but old max there suggested this might be easier and i liked the sound of encrypted files (sounds cool, even if not much cop).
thanks for the help, will proceed as per your advice.