Help - Search - Members - Calendar
Full Version: Private Access
MonsterSmallBusiness Forums > MonsterSmallBusiness > Forum Feedback
Shooter
I would like to make a custom page that is password protected and can only be accessed for those given password. Can this be done?
krazykickz
It cannot be done using the monstersmile.gif software. You can only password protect the whole website. It could be very easily done if there was full ftp access though.
Shooter
QUOTE(krazykickz @ Feb 27 2005, 08:48 AM)
It cannot be done using the monstersmile.gif software.  You can only password protect the whole website.  It could be very easily done if there was full ftp access though.
[right][snapback]68969[/snapback][/right]



Here we go again.. didn't I hear this tune just a minute ago? Why is every reply.. 'It can't be done in this software'? Reminds me of back when I wrote the first BBS Software in US. I also wanted to control all aspects of the software and be the only source for utilities etc (I reasoned that it was for security.. when in fact it was for my unwillingness to open the door for others).. Well, it was'nt to long before the 'other' guy on the scene took my sales and forced me to sell for pennies on the dollar bash.gif
srg
Put this within the body tag of any page to create a password protected page link button. Edit text in blue.

<script>
function passWord() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password',' ');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "letmein") {
alert('You Got it Right!');
window.open('protectpage.html');
break;
}
testV+=1;
var pass1 =
prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return " ";
}
</SCRIPT>
<CENTER>
<FORM>
<input type="button" value="Enter Protected Area" onClick="passWord()">
</FORM>
</CENTER>


Edit the password lines.
krazykickz
However they can always get the password easily with a view source using that code.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.