Password protected blog </body> <script> var password = 'Your Password Here' password=prompt('Enter the password to enter this site:',''); if (password != 'P A S S W O R D') { location.href='http://www.swedishwebdesign.eu/'} </script> Share This: Facebook Twitter Google+ Stumble Digg