HighTechTalks DotNet Forums  

webdav urgent help

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss webdav urgent help in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
hud
 
Posts: n/a

Default webdav urgent help - 03-06-2005 , 01:56 PM






hi,

I work as a developer in a team currently building a Managed Learning
Environment for a Further Education College. As part of this project we are
interfacing with exchange server, displaying OWA folders in a browser to our
clients. This works fine except for generating an error (permission denied)
which I can only fix if the client adds the web address to their trusted
sites and enables activex.

I am using ASP and javascript :

The error is generated at this level =
set objXMLHTTP = nothing

Set objXMLHTTP = CreateObject("Microsoft.XMLHTTP") -- > does this require
active x to be enabled ?

objXMLHTTP.Open "SEARCH", strInboxURL,True



I would be very grateful if you could show me how to fix this problem, since
we have over 5000 computers, many are not easily accessible, and the
majority of our users are not particularly IT literate !



NB:Happy to email the code that simulate this error if needed.



hud



Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: webdav urgent help - 03-07-2005 , 01:40 AM






Hello,

This is due to the security limitation in IE. To access secured resourece
with "Microsoft.XMLHTTP", we have to request enough permission in IE. To
get around this problem, we can set to low security level or add it to
trust sites.

Luke


Reply With Quote
  #3  
Old   
hud
 
Posts: n/a

Default Re: webdav urgent help - 03-07-2005 , 01:05 PM



hi luck

thanks for your quick reply , is there any way we can add a website URL to a
trusted site for a user on their machine (asp or jscript)- e.g. test if it's
in trusted sites, if no display a popup when the user click add the web
on a trusted site.

thanks for your advice


"[MSFT]" <lukezhan (AT) online (DOT) microsoft.com> wrote

Quote:
Hello,

This is due to the security limitation in IE. To access secured resourece
with "Microsoft.XMLHTTP", we have to request enough permission in IE. To
get around this problem, we can set to low security level or add it to
trust sites.

Luke




Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default Re: webdav urgent help - 03-08-2005 , 01:12 AM



Hello,

I have to day there is no such an easy to do this. If there was such a way,
a vicious web may add its self to our trust site with script and do
anything they want. We have to do this manually. I suggest you may consider
moving the code to server side and only pass HTML code to client side. ( If
I misunderstood the problem and the script has already been server side
script, you may check the server side security. With proper security
setting, we should be able to XMLHttp on server site).

Luke


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.