Quote:
Originally Posted by Taro
like finding ways to encrypt source code frequently without accessibility violations.
|
The smallest JavaScript encryption script I have come across is about 5k when minimised. Without a server side scripting language you'd also need to manually encrypt all the page content before uploading - and redo everything when you spot a typo in the page.
Using JavaScript encryption would then make the entire page inaccessible to anyone with JavaScript turned off - with the only solution being to provide the unencrypted version to anyone who turns off JavaScript.
If you use anything other than proper encryption then all someone need do is view the script source to see how to bypass the login. The only way to avoid this is to use a server side script.