Allowing only specific file on HDD to run Script

Ask for help about NoScript, no registration needed to post
JarHead

Allowing only specific file on HDD to run Script

Post by JarHead »

Hi,

I'm wondering on how to setup NoScript to only allow a particular file on HDD to run script.

Some background, I 'm using TiddlyWiki on FireFox. I only want that particular app to run script, not the entire "file://" protocol.

Thanks
Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3377
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Allowing only specific file on HDD to run Script

Post by GµårÐïåñ »

You can try to allow the full path to the app and that way you are allowing only that and nothing else under file:// so it would look something like:

ALLOW : file://this/is/the/app/i/want/to/allow
VS: file://

To get the longer options, under your noscript options, on the appearance tab, select all three checkboxes on the top right (base 2nd level, full domain, and full address) and this way when you load the file path it will give you the least restrictive (most broad) to the most restrictive (least broad) paths for you to choose what to allow. Doing this will allow you to have you file:// cake and eat it too.

Hope it helps, let us know if anything else we can do or how it works out for you. You can also alternatively put up to the path you are wanting to allow manually under the whitelist tab and add it too if you don't want to go the menu route.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.2.0.0 Safari/537.17
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allowing only specific file on HDD to run Script

Post by Giorgio Maone »

Unfortunately it's not possible because of a limitation in CAPS, the script security manager built-in in Gecko.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
Post Reply