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]