Hi,

I would like to open a WebDAV window using a script but remove
navigation toolbars, etc so that the user cannot browse other folders
on my web server. I can open the webdav folder fine using the
following

<STYLE>
.hFolder{behavior:url(#default#httpFolder);}
</STYLE>
<SCRIPT>
function fnNavigate(){
var webfolder= "http://www.mydomain.com/userfolder"
var
sFolder=location.href.substring(0,location.href.lastIndexOf("/"));
oViewFolder.navigate(webfolder);
}
</SCRIPT>
<SPAN ID=oViewFolder
CLASS = "hFolder"
onclick = "fnNavigate()"
>
Click here to go to your Web Folder
</SPAN>

But the WebDAV window allows the user to navigate away from his folder
unrestricted and see others folders. I would like to restrict
navigation by turning off toolbars, etc not username/passwords, etc.

Any help would be appreciated

Re: WebDAV restricting browser toolbars/navigation by _

_
Mon May 07 09:14:56 CDT 2007

Don't do that that way. Controlling toolbars on the browser is _not_ a
substitute for security.

You need to figure out how to configure the web server to only show what you
want it to show.

Otherwise, I could just copy the URL, paste it in a new window and do
whatever I want, EVEN IF you got what you wanted to work as below.

<sdsimonson@comcast.net> wrote in message
news:1178538833.626343.76200@o5g2000hsb.googlegroups.com...
> Hi,
>
> I would like to open a WebDAV window using a script but remove
> navigation toolbars, etc so that the user cannot browse other folders
> on my web server. I can open the webdav folder fine using the
> following
>
> <STYLE>
> .hFolder{behavior:url(#default#httpFolder);}
> </STYLE>
> <SCRIPT>
> function fnNavigate(){
> var webfolder= "http://www.mydomain.com/userfolder"
> var
> sFolder=location.href.substring(0,location.href.lastIndexOf("/"));
> oViewFolder.navigate(webfolder);
> }
> </SCRIPT>
> <SPAN ID=oViewFolder
> CLASS = "hFolder"
> onclick = "fnNavigate()"
>>
> Click here to go to your Web Folder
> </SPAN>
>
> But the WebDAV window allows the user to navigate away from his folder
> unrestricted and see others folders. I would like to restrict
> navigation by turning off toolbars, etc not username/passwords, etc.
>
> Any help would be appreciated
>



Re: WebDAV restricting browser toolbars/navigation by sdsimonson

sdsimonson
Mon May 07 12:29:34 CDT 2007

On May 7, 10:14 am, ".._.." <....@yourmom.mil> wrote:
> Don't do that that way. Controlling toolbars on the browser is _not_ a
> substitute for security.
>
> You need to figure out how to configure the web server to only show what you
> want it to show.
>
> Otherwise, I could just copy the URL, paste it in a new window and do
> whatever I want, EVEN IF you got what you wanted to work as below.
>
> <sdsimon...@comcast.net> wrote in message
>
> news:1178538833.626343.76200@o5g2000hsb.googlegroups.com...
>
>
>
> > Hi,
>
> > I would like to open a WebDAV window using a script but remove
> > navigation toolbars, etc so that the user cannot browse other folders
> > on my web server. I can open the webdav folder fine using the
> > following
>
> > <STYLE>
> > .hFolder{behavior:url(#default#httpFolder);}
> > </STYLE>
> > <SCRIPT>
> > function fnNavigate(){
> > var webfolder= "http://www.mydomain.com/userfolder"
> > var
> > sFolder=location.href.substring(0,location.href.lastIndexOf("/"));
> > oViewFolder.navigate(webfolder);
> > }
> > </SCRIPT>
> > <SPAN ID=oViewFolder
> > CLASS = "hFolder"
> > onclick = "fnNavigate()"
>
> > Click here to go to your Web Folder
> > </SPAN>
>
> > But the WebDAV window allows the user to navigate away from his folder
> > unrestricted and see others folders. I would like to restrict
> > navigation by turning off toolbars, etc not username/passwords, etc.
>
> > Any help would be appreciated- Hide quoted text -
>
> - Show quoted text -

I wanted to turn off the address bar so they could not see the URL....