Connecting Tech Pros Worldwide Forums | Help | Site Map

Folder Tree Security

scott
Guest
 
Posts: n/a
#1: Jul 22 '05
I'm creating a tree menu that uses FSO to read folders, subfolders and
files. I'd like for each folder to have capabilty of being either Level
1,2,3,4 or 5 security. The 5 Levels are my security levels with 5 being
Admin.

I'm looking for any advice on how to go about this. I was thinking of
creating a hidden text file within each folder and storing the folders
security level in it, then let asp read the text file as it builds my tree
and display the appropriate folder icon representing Level 1,2,3,4 or 5
security.

Anyone go a better idea? Perhaps an XML tree?



Curt_C [MVP]
Guest
 
Posts: n/a
#2: Jul 22 '05

re: Folder Tree Security


DB to hold the sec level, read em in as you build the tree.


--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"scott" <sbailey@mileslumber.com> wrote in message
news:uqcQdOlWFHA.3928@TK2MSFTNGP15.phx.gbl...[color=blue]
> I'm creating a tree menu that uses FSO to read folders, subfolders and
> files. I'd like for each folder to have capabilty of being either Level
> 1,2,3,4 or 5 security. The 5 Levels are my security levels with 5 being
> Admin.
>
> I'm looking for any advice on how to go about this. I was thinking of
> creating a hidden text file within each folder and storing the folders
> security level in it, then let asp read the text file as it builds my tree
> and display the appropriate folder icon representing Level 1,2,3,4 or 5
> security.
>
> Anyone go a better idea? Perhaps an XML tree?
>[/color]


scott
Guest
 
Posts: n/a
#3: Jul 22 '05

re: Folder Tree Security


What would be the best way to keep the database and folder hierarchy in
sync? Create/modify a record for each folder each time a folder is created
or modified?

I'm just trying to think how my tree could be rendered by using FSO and at
the same time be looking up security level in a db. Wouldn't that be real
slow?


"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uXEvIWlWFHA.4036@TK2MSFTNGP10.phx.gbl...[color=blue]
> DB to hold the sec level, read em in as you build the tree.
>
>
> --
> Curt Christianson
> Site & Scripts: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "scott" <sbailey@mileslumber.com> wrote in message
> news:uqcQdOlWFHA.3928@TK2MSFTNGP15.phx.gbl...[color=green]
>> I'm creating a tree menu that uses FSO to read folders, subfolders and
>> files. I'd like for each folder to have capabilty of being either Level
>> 1,2,3,4 or 5 security. The 5 Levels are my security levels with 5 being
>> Admin.
>>
>> I'm looking for any advice on how to go about this. I was thinking of
>> creating a hidden text file within each folder and storing the folders
>> security level in it, then let asp read the text file as it builds my
>> tree and display the appropriate folder icon representing Level 1,2,3,4
>> or 5 security.
>>
>> Anyone go a better idea? Perhaps an XML tree?
>>[/color]
>
>[/color]


Curt_C [MVP]
Guest
 
Posts: n/a
#4: Jul 22 '05

re: Folder Tree Security


I would... you have to do some manual work either way, either the text file
or a DB entry....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"scott" <sbailey@mileslumber.com> wrote in message
news:ertm3clWFHA.3320@TK2MSFTNGP12.phx.gbl...[color=blue]
> What would be the best way to keep the database and folder hierarchy in
> sync? Create/modify a record for each folder each time a folder is created
> or modified?
>
> I'm just trying to think how my tree could be rendered by using FSO and at
> the same time be looking up security level in a db. Wouldn't that be real
> slow?
>
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:uXEvIWlWFHA.4036@TK2MSFTNGP10.phx.gbl...[color=green]
>> DB to hold the sec level, read em in as you build the tree.
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "scott" <sbailey@mileslumber.com> wrote in message
>> news:uqcQdOlWFHA.3928@TK2MSFTNGP15.phx.gbl...[color=darkred]
>>> I'm creating a tree menu that uses FSO to read folders, subfolders and
>>> files. I'd like for each folder to have capabilty of being either Level
>>> 1,2,3,4 or 5 security. The 5 Levels are my security levels with 5 being
>>> Admin.
>>>
>>> I'm looking for any advice on how to go about this. I was thinking of
>>> creating a hidden text file within each folder and storing the folders
>>> security level in it, then let asp read the text file as it builds my
>>> tree and display the appropriate folder icon representing Level 1,2,3,4
>>> or 5 security.
>>>
>>> Anyone go a better idea? Perhaps an XML tree?
>>>[/color]
>>
>>[/color]
>
>[/color]


Closed Thread