[Zope-CMF] Local File System.

Paul Naveen Raj Jeyaraj Paul_Jeyaraj@infosys.com
Wed, 12 Mar 2003 15:37:10 +0530


This is a multi-part message in MIME format.

------=_NextPartTM-000-ff772712-933b-4ce7-a3a1-0035c4fba215
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2E87F.254A8538"

------_=_NextPart_001_01C2E87F.254A8538
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
I have a local file system object to access files residing in a remote
server.=20
The file structure in the remote server is as given :
There is a root folder which has many subfolders and files.
A is the root folder.......
B, C, D, etc.....are subfolders which in turn have folders under them.
=20
In my portal I have given links to all the subfolders and I want to
block the users from accessing the root folder. But they are able to
view the root through the Parent Directory link provided. I want to
remove the Parent Directory link when the users are accessing B, C, D,
etc folders, though I want the link to be shown when users move further
down the folders. I tried to compare the server path with a value and
hide the link accordingly but couldn't succeed. Please help. Thank you.
=20
Regards,
Paul.=20
=20
=20

------_=_NextPart_001_01C2E87F.254A8538
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY style=3D"COLOR: #000000; FONT-FAMILY: ">
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial size=3D2>I have =
a local file=20
system object to access files residing in a remote server. =
</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial size=3D2>The =
file structure=20
in the remote server is as given :</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial size=3D2>There =
is a root=20
folder which has many subfolders and files.</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial size=3D2>A is =
the root=20
folder.......</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial size=3D2>B, C, =
D, etc.....are=20
subfolders which in turn have folders under them.</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial size=3D2>In my =
portal I have=20
given links to all the subfolders and I want to block the users from =
accessing=20
the root folder. But they are able to view the root through the Parent =
Directory=20
link provided. I want to remove the Parent Directory link when the users =
are=20
accessing B, C, D, etc folders, though I want the link to be&nbsp;shown =
when=20
users move further down the folders. I tried to compare the server path =
with a=20
value and&nbsp;hide the link accordingly but couldn't succeed. Please=20
help.&nbsp;Thank you.</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial=20
size=3D2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial=20
size=3D2>Paul.</FONT>&nbsp;</SPAN></DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D690115909-12032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>
=00
------_=_NextPart_001_01C2E87F.254A8538--

------=_NextPartTM-000-ff772712-933b-4ce7-a3a1-0035c4fba215--