Cyber-Hun
Guest
|
Posted:
Sat Jan 01, 2005 9:57 pm Post subject:
Increase security by changing default action for script file |
|
|
I think that when a script file is encountered, it is processed according to
that script-types registry entries such as:
%SystemRoot%\System32\WScript.exe "%1" %*
which opens, for example, a vbs file with the vbs interperetor as the
default action for this type of file.
So, I know this would be an extra hassle and everything, but if someone were
willing to go to the extra trouble, what if the default action for script
files was reset to, say, notepad.exe. Now, when the browser unexpectedly
happens on a possibly malicious script file, the script pops up in notepad
for inspection instead of being immediately executed, and if it was deemed
OK then it could be run.
My question is, how could I set it up so that after it pops up in notepad I
get a choice such that by one click or something equally simple I can either
ditch the file or run it.
Does anyone have any ideas on this? |
|