473,785 Members | 2,327 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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?
Jul 22 '05 #1
3 1690
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" <sb*****@milesl umber.com> wrote in message
news:uq******** ******@TK2MSFTN GP15.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?

Jul 22 '05 #2
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_da rkfalz.com> wrote in message
news:uX******** ******@TK2MSFTN GP10.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" <sb*****@milesl umber.com> wrote in message
news:uq******** ******@TK2MSFTN GP15.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?


Jul 22 '05 #3
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" <sb*****@milesl umber.com> wrote in message
news:er******** ******@TK2MSFTN GP12.phx.gbl...
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_da rkfalz.com> wrote in message
news:uX******** ******@TK2MSFTN GP10.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" <sb*****@milesl umber.com> wrote in message
news:uq******** ******@TK2MSFTN GP15.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?



Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5808
by: ragha | last post by:
Dear friends I am emulating thr tree structure mentioned in the article http://www.15seconds.com/issue/010921.htm I have succesfully created the folder structure for level 2 I need this structure till 5 level is there any easier way to generate this using xsl My xml tree node is
6
2734
by: Dennis Allen | last post by:
Hi. I was wondering if someone here could help me. My web site has a very simple folder tree menu bar. Example: <a id="club_t" href="##" onclick="return Outline(this)"><img id="club_i" alt="" border="0" src="fold.gif">Club&nbsp;Links</a><br> <div id="club_s" class="off"> <a href="articles.htm" target="main">Articles/Cartoons</a><br> <a href="photo1.htm" target="main">Astro&nbsp;Images</a><br> <a href="links.htm"...
0
2180
by: Tree menu using XML | last post by:
I have one XML file that has nodes and sub node and each and every node has the attribute call visible if its value is true then diplay this node else don't display thid node, but this condition i am able to check using xpath in asp.net 2.0 till MenuItem node. if i check visible attribute value till SubMenuLevel0 node then in tree it will not display the MenuItem Node at all Note: My tree Menu will start from MenuItem node and it will...
0
3317
by: John H. | last post by:
In effort to understand (Outlook) MAPI folder tree structure wrote simple linear code below to navigate tree. Successive "...Folders.GetNext()"'s return same folder at all levels of tree. What am I doing wrong or not understanding? Thanks.
5
13304
by: Mitchell S. Honnert | last post by:
Is there a way, given the full path of a folder on a network, that one can programatically tell if you have Read access to that folder? I have an application where the user is able to select a number of search folders using the standard dialog control. There shouldn't be an issue with the search folder being on a local drive or a network drive. But if you don't have Read access to the folder, there's trouble. The user can see the...
2
1233
by: John | last post by:
Hi, What is best folder to put database (location of database)? This is because when administrator restricts user rights to read (read and execute), and doesn't give permissions to write in C: disk (only to My documents is write allowed)? What to do in this case, shall I store database to My Documents location of user, or to Shared Documents folder? Or there is some other way (work around) to this problem? What is best practice for...
0
1136
by: hortoristic | last post by:
We currently have a solution up and working on VS 2005 and bound to source control VSS 6. I want to now add our DATABASE folder from VSS to our existing solution. My first approach has been to create a new Database Project and to get it working. In our tree in VSS the folder structure is similar to the following:
3
1705
tpgames
by: tpgames | last post by:
When I renamed the class file to Audiodriver.class and changed the link to Audiodriver.class, the game wouldn't load. I got this error java.lang.NoClassDefFoundError: Audiodriver (wrong name: Driver) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at sun.applet.AppletClassLoader.findClass(Unknown Source) at...
4
4110
by: Sergei Minayev | last post by:
Hi All! Can you please help me with the following problem: I need to store a copy of local folders structure in MySQL database. I have chosen the following table structure for that: ------------------------------------------------ | id | id_uplink | folder_name | ------------------------------------------------ id - unique property of each folder. id_uplink - id of upper level folder is stored here (for example: if id of c:\test...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9489
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4061
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.