/>

Earn money,Hindi me help , internet se paiae kaise kamaye, Smartphone solution, Hindi me help,WordPress, SEO, viratweb

Monday, 22 August 2016

How protect password web page

Google ne jab se free blogger lunch kiya hai. Website admin ki Sankhya increase Hui h. Aise me bahut se logo  cut / paste kar Rahe hai. Yani ki kisi dusre ka data chori Kar Rahe h. Iska ek solution hai. Password protect karna. Niche code diye gye hai . Jinki help se aap log Apne website ka data safety and security badha sakte h. Password protect karne ke liye step follow kare.




Template>>Edit template>> 




Ctrl+f press karke . Find me <body> search kare. Aur uske niche paste kar de. And finally save template par click kare.





<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>





0 comments:

Post a Comment

Search This site

Popular Posts

Contact Us

Name

Email *

Message *