Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Fri, 28 Mar 2008 14:01:44 +0800,    group: microsoft.public.inetsdk.programming.urlmonikers        back       


Asynchronous pluggable protocol and IE 7 protected mode   
Hi,

I've got a question regarding using asynchronous pluggable protocol (APP) 
under IE 7 protected mode in Vista.

My protocol is based on the article here: 
http://www.codeproject.com/KB/IP/DataProtocol.aspx . And the protocol has 
the syntax of myprogram://something . The APP needs to use named pipes for 
communication so that it can retrieve the response from a pipe server and 
return it to the browser. It looks like IE 7's protected mode will block any 
CreateFile attempt to connect to a writable pipe. It only allows writing to 
"low integrity locations".

I tried several different security settings to create this pipe. The 
connection will only be successful when IE is ran with administrator's 
privilege (protected mode is off). But I would of course prefer that the 
connection can be established without the admin privilege.

How do I workaround this problem? Should I tell IE that my custom URL is in 
the trusted zone? I'm not sure how I should handle 
IInternetProtocolInfo::ParseUrl to achieve this. Or is there any other ways 
that can make this work?

-- 
Thanks in advance,
Bill Holt
date: Fri, 28 Mar 2008 14:01:44 +0800   author:   Bill Holt mailbill(NOSPAM)@21cn.com.nospam

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us