Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Folder Tree Security (http://www.velocityreviews.com/forums/t798731-folder-tree-security.html)

scott 05-16-2005 08:05 PM

Folder Tree Security
 
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?



scott 05-16-2005 08:31 PM

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...
> 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...
>> 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?
>>

>
>





All times are GMT. The time now is 12:55 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.