Javascript & Windows XP SP2 Security

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nathan Sokalski

    #1

    Javascript & Windows XP SP2 Security

    As most Javascript coders probably know by now, IE on Windows XP SP2 likes
    to prevent our code from running right away (the user is asked to give
    permission the first time). Although I can see the danger in allowing all
    scripts to run, the fact that IE makes it sound like we are going to install
    some huge, horrible application when we are simply adding rollovers or
    client-side validation or some other simple little thing really frustrates
    me. Specifically what stuff does IE block? Does it check for certain methods
    in the script? Does it block everything until you say it's OK? What can
    places do to allow their scripts to be run without the need to be validated
    by the user? I have heard about "Signed Scripts", but I feel that it would
    be hard to modify and develop when a script had to be "Signed" every time.
    Any comments?
    --
    Nathan Sokalski
    njsokalski@hotm ail.com
    有声小说网为广大读者提供热门小说在线免费阅读,本站收集的网络文学小说情节跌宕起伏,有声小说网是值得书友们收藏的小说在线阅读网。



  • wl

    #2
    Re: Javascript & Windows XP SP2 Security

    "Nathan Sokalski" <njsokalski@ver izon.net> wrote in message
    news:cQXge.1497 2$nX1.1491@trnd dc09...[color=blue]
    > As most Javascript coders probably know by now, IE on Windows XP SP2 likes
    > to prevent our code from running right away (the user is asked to give
    > permission the first time). Although I can see the danger in allowing all
    > scripts to run, the fact that IE makes it sound like we are going to
    > install some huge, horrible application when we are simply adding
    > rollovers or client-side validation or some other simple little thing
    > really frustrates me. Specifically what stuff does IE block? Does it check
    > for certain methods in the script? Does it block everything until you say
    > it's OK? What can places do to allow their scripts to be run without the
    > need to be validated by the user? I have heard about "Signed Scripts", but
    > I feel that it would be hard to modify and develop when a script had to be
    > "Signed" every time. Any comments?[/color]


    My experience is that Internet Explorer is only asking to run the script if
    the page is run locally (from the file system).
    It seems no confirmation is needed when the page is hosted on the internet ?

    Wim


    Comment

    • kaeli

      #3
      Re: Javascript &amp; Windows XP SP2 Security

      In article <cQXge.14972$nX 1.1491@trnddc09 >, njsokalski@veri zon.net
      enlightened us with...[color=blue]
      > As most Javascript coders probably know by now, IE on Windows XP SP2 likes
      > to prevent our code from running right away (the user is asked to give
      > permission the first time).[/color]

      AFAIK, only on localhost.
      So what's the problem?
      You coding for a CD for Windows? If so, use HTA instead.
      There's a reason for the new security settings, and as irritating as it is
      for testing stuff locally, it is actually a pretty good idea, considering all
      the security holes in MSIE. There is a workaround for turning it off. Google
      it. It's on MSDN somewhere.

      --
      --
      ~kaeli~
      Why did kamikaze pilots wear helmets?



      Comment

      Working...