A handy code that brings up a password window to keep others off of the web pages you choose.
Password Protect Your Web Page
557 Views
About the Author

Marketing, Advertising, and Store-Front Manager for DraconusIT.net
<script language="JavaScript">
var password;
var pass1="PASSWORD-HERE";
password=prompt('Whats The Magic Word?',' ');
if (password==pass1) alert('That Is Correct!');
else {
window.location="SITE-LINK";
}
</script>
Randy Epperson
0
Newbie Poster
Mohan0704
0
Newbie Poster
Mohan0704
0
Newbie Poster
Mohan0704
0
Newbie Poster
auvi1
0
Newbie Poster
DealthRune
2
Light Poster
DealthRune
2
Light Poster
jpdude11
0
Newbie Poster
dlannetts
0
Junior Poster in Training
Hanabusa
0
Newbie Poster
almostbob
866
Retired: passive income ROCKS
Hanabusa
0
Newbie Poster
EvolutionFallen
107
Junior Poster
almostbob
866
Retired: passive income ROCKS
EvolutionFallen
107
Junior Poster
NeakUp
0
Newbie Poster
stjhess
0
Newbie Poster
StephenHarry
0
Newbie Poster
MidiMagic
579
Nearly a Senior Poster
bsemekanik
0
Newbie Poster
bob ★
0
Newbie Poster
teedoff
3
Posting Pro
alexispreatori
0
Newbie Poster
cssMFCpro
0
Newbie Poster
MidiMagic
579
Nearly a Senior Poster
pixelsoul
272
Red Pill
Featured Poster
vickers_81
0
Newbie Poster
chriswelborn
63
...
dasabel100
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.