Hi
I am buiding a form and I wanted to respond to the user if they have the right answer or not...I want to use javascript for this however I know that a user that maybe aware of view source will simply go to that. Can I do something to hide this?
Well, you could just make a external javascript. The problem with this is anyone can still download the external script. But, you would be best off to use PHP or something. That would make it virtually impossible for the users to get the answers. I don't know if that is an option for you or not, but it might be worth looking into...
Nothng helpes, even if you disable clicking on the document and don't show the menu bar (use modeldialog):
in the parent:
this in onload:
var aa = "";
aa = window.showModalDialog("secure.htm",null,"dialogHeight:344px;dialogWidth:468px;help:0;resizable:0;scroll:0;status:0"
window.location.replace("go somewhere else now"
..
Still I can put the parent that opens the showmodaldialog in a href like this: <a href="you think this is a secure parent">...</a>
Open that page and rightclick the href choose save tartet as.
then I would find out the url to the modal dialog and do the same even if you have disabled all clicking in the page after I saved the target I can just open your html page in notepad.
My suggestion is: please write a page that deals with large sums of money and send me the URL.
If your using CF then why not do it the CF way then the JS way?? Have the answers in an Access dB then using SQL call the right answer, this way when the user goes to view source its hidden cause the browser doesn't show server-side scripts...
Know what I mena?? I have not failed; I have merely found 100,000 different ways of not succeding...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.