Page 1 of 1

Allowing only specific file on HDD to run Script

Posted: Sat Feb 09, 2013 4:55 am
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

Re: Allowing only specific file on HDD to run Script

Posted: Mon Feb 11, 2013 10:08 am
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.

Re: Allowing only specific file on HDD to run Script

Posted: Mon Feb 11, 2013 12:35 pm
by Giorgio Maone
Unfortunately it's not possible because of a limitation in CAPS, the script security manager built-in in Gecko.