hello,
have iweb site maintain portfolio, part of requirement bed.
1 of pages contains kinds of reference letters , resume. informed professor needed either password or take down because violated foip. rather go him, obliged , put script on said page require password allow page open. if password incorrect redirect home page. here snippet:
<script language="javascript">
<!--hide
var password;
var pass1="xpasswordx";
password=prompt('for privacy reasons, please contact xmyemail@email.comx gain access','');
if (password==pass1)
alert('the password correct. click ok continue.');
else
{
alert('incorrect password');
window.location="http://www.pbechthold.com/";
}
//-->
</script>
of course, xpasswordx replaced real password , xmyemail@email.comx email address.
have used similar script on other pages because wanted privacy. understand how meager , wouldn't call security, simplicity of implementation , provides @ least 1 roadblock out creeping site.
here problem:
when start safari on mac or new tabs, have found prompted password box if trying access webpage in question (resume.pbechthold.com) when opening gmail or something.
question 1: if visit site , try in cancel, have similar symptom later on?
question 2: if in site leave, getting prompt later well?
question 3: how easy find out password? not posting password here , request not either if find out is... trust easy.
help!
- i didn't experience that.
- i didn't experience either, of course didn't play long. suspect reason has loading resume_and_references.html frame.
- i don't need password. have turn off javascript , browser bypasses "login" altogether. @ point of course take quick "view source" password.
a javascript login worse useless.
Forums Special Interests Web Design and Development
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment