Neocities.org

๐–‡๐–†๐–•๐–๐–”๐–’๐–Šโœž_โœŸ๐–Š

baphomette.neocities.org

45,011 views
114 followers
5,453 updates
0 tips
any1 know a good way to password protect a page where you cant just get around the password by typing in the url
3 likes
scenequeen 1 year ago

i dont think theres a way to do that rn?? maybe make the page name a keysmash and leave some clues around to find it :L

1 like
baphomette 1 year ago

@hearted i was thinking bout doing that tbh

1 like
scenequeen 1 year ago

:D cant wait to snoop around and see if i can figure it out

1 like
dann 1 year ago

See something like this: https://dannarchy.com/tut/pass.html (use 'password' for the password)

2 likes
dann 1 year ago

Then view the source code. Basically it prompts you to enter a password, and if it isn't correct, it bounces you back one page. You may want to have a different method to get to the page, but that will allow some minimal protection against stumbling on the URL.

3 likes
scenequeen 1 year ago

bro....thats cool as h*ll nice work

1 like
chamaedaphne 1 year ago

https://pastebin.com/M5eac0mP I was playing around with something like this (username and pass word, but you can probably look into doing only one) It takes two pages, one for the "log in", one for the actual content

2 likes
chamaedaphne 1 year ago

(i dont actually know what i'm doing so like... i cant help you other than that. ;;;;;;;; sorry)

2 likes
baphomette 1 year ago

@dann YES THANK YOU

1 like
dann 1 year ago

If someone turns off Javascript, or is lightning quick with the Esc button after failing, they could read the source. There's definitely more secure ways, but this is just an easy fix for the effort.

1 like
dann 1 year ago

chamaedaphne's method would be good for getting to the page initially, and then my code just as a backup. Also be sure to delete the thumbnail neocities generates on your feed (but this will also hide all updates for 24 hours)

2 likes
4,000 views . very good
2 likes
i want an art section but im also thinking of a somewhat nsfw section.... hm
2 likes
soups 1 year ago

maybe you could have a nsfw section in the art section with a warning type thing?

1 like
baphomette 1 year ago

@soups maybe? i was thinking of password protecting it but i would need to learn the code for it

Website Stats

Last updated 2 days ago
CreatedMay 25, 2019
Site Traffic Stats

Tags

dark personal art