Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
Security and Windows Vista A forum for discussion on security issues with Windows Vista. (microsoft.public.windows.vista.security) |
|
LinkBack | Thread Tools | Display Modes |
|
|||
how to get permission for Shell.Application in JScript in local files (file://...html)?
When I try to use Shell.Application, e.g.
var objShell = new ActiveXObject("Shell.Application"); objShell.TrayProperties(); in JScript an html file on a local disk (accessed by file: instead of by http, I get a JScript error "permission denied". I tried changing the security setting for "Local intranet" to Low, but that didn't make any difference. I tried putting the file path into "Trusted Sites", but it told me it only accepts https sites. What do I need to do so that Internet Explorer will run Shell.Application functions in a local html file? Thanks, Jeff |
|
|||
how to get permission for Shell.Application in JScript in local files (file://...html)?
"Jeff" wrote in message ... When I try to use Shell.Application, e.g. var objShell = new ActiveXObject("Shell.Application"); objShell.TrayProperties(); in JScript an html file on a local disk (accessed by file: instead of by http, I get a JScript error "permission denied". I tried changing the security setting for "Local intranet" to Low, but that didn't make any difference. I tried putting the file path into "Trusted Sites", but it told me it only accepts https sites. What do I need to do so that Internet Explorer will run Shell.Application functions in a local html file? Thanks, Jeff It's in Internet Options, Advanced, Security: "Allow Active Content to run in files on My Computer" |