PDA

View Full Version : Question about Javascript and AMS 6


boroarke
11-15-2005, 03:38 PM
In AMS 5 whenever I would put in a 'no right click' or 'no highlight' JavaScript into the html of a webobject, everytime the user would open the page containing the webobject with that JavaScript, Internet Explorer would always pop up that annoying warning at the top of with browser window that says "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer"

Now, if I create a webobject with the same html file and place it in AMS 6, that annoying IE warning does not show up.

I am not complaining, I am actually very happy since now I know my html is completely protected since in the past with my projects created in AMS5, when that IE warning would appear, the JavaScript was disabled leaving the html easily copyable (is that even a word??)

So what I am asking, is this something that was added in 6.0 or is my system just not showing the IE warning for some reason and the warning will still be shown on other users PC disabling the JavaScript?


Bryan

Corey
11-15-2005, 07:01 PM
Hi, I can't speak to if there was anything add since I'm not a dev guy, although I don't think there was. But to be clear, people can still grab you HTML a variety of ways, not the least of which is just to visit the temp folder for your browser I believe. It's very hard to protect HTML but fortunately that's not really a big deal since HTML is generally meant for the public. If you wish to protect certain algorithms or data within your code consider writing the HTML dynamically at runtime so that users only ever get a chance to see the "result" of your code as opposed to the code itself. :yes

Intrigued
11-15-2005, 07:50 PM
If it's static pages... don't forget screenshots! (aka. screenies, captures, window captures, etc. etc.)

yosik
11-15-2005, 11:56 PM
Bryan,
Are you sure you haven't changed something in your system (upgraded IE, changed Internet options etc...)? Do you still have AMS5 installed on your machine and can you check that that popup effectively comes up with AMS5?

Yossi

rhosk
11-16-2005, 04:23 AM
I think I know what the poster is talking about, but I cannot narrow it down. If I just have a plain web object and preview, the right-click option is there. However, on another project (has a bit of flash, masking, other objects on the page), right-click does nothing :wow I removed the mask scripting, and I still get a null right-click. I'll investigate further later.