SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Block malicious scripts

    hi,
    Can a plugin stop some malicious scripts to be executed?

    Say, i have my plugin installed in my browser. Can this plugin go through the html contet of the site and stop the execution of activeX, action scripts, flash, pdf anything like that?

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,862
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    To stop activeX running you can either turn it off in IE or simply switch to any other browser as only IE can run it in the first place.

    To prevent flash from running you can simply install noflash into Firefox or Opera. Then the flash is replaced with a grey F in the middle of the space that you have to click on if you decide that you do want the flash to run. If you never want Flash to run then simply don't install the Flash plugin in your browser as browsers don't support Flash without the plugin. Actionscript requires Flash to run.

    You can also disable the ability for Flash to grab storage on your computer by changing the settings within flash itself.

    To stop PDFs running in the browser simply don't install the plugin - then they will all just be offered for download and you can say yes or no.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by felgall View Post
    To stop activeX running you can either turn it off in IE or simply switch to any other browser as only IE can run it in the first place.

    To prevent flash from running you can simply install noflash into Firefox or Opera. Then the flash is replaced with a grey F in the middle of the space that you have to click on if you decide that you do want the flash to run. If you never want Flash to run then simply don't install the Flash plugin in your browser as browsers don't support Flash without the plugin. Actionscript requires Flash to run.

    You can also disable the ability for Flash to grab storage on your computer by changing the settings within flash itself.

    To stop PDFs running in the browser simply don't install the plugin - then they will all just be offered for download and you can say yes or no.
    Well and good. Thanks for your resposne, felgall!!

    But my question is in the developer point of view, not in the user point of view. So, my question is can i develope a addon or extension which will stop flash, pdf or any such malicious scripts from executing!! If so can you give me a heads up in developing such extension?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •