473,411 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Menu security

I am facing a problem :
I would like to have the mainmenu specialized for every user of an app.
That means every user must have or not access to the specified menu or sub
menu.
My idea is to store the menu in a table and give the appropriate permission
for every item for the underling user or template.(enabled or disabled)
I searched the properties of the menuitems and I didn’t find any property
that will identify the menu with a unique manner. (Maybe the index but it
seams to not be a good idea)
Do you thing that i must store it as a xml in a Sql server table ?

Thanks in advance
Greg.
Nov 21 '05 #1
6 943
Hi,

http://msdn.microsoft.com/library/de...et02122002.asp

Ken
------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
I am facing a problem :
I would like to have the mainmenu specialized for every user of an app.
That means every user must have or not access to the specified menu or sub
menu.
My idea is to store the menu in a table and give the appropriate permission
for every item for the underling user or template.(enabled or disabled)
I searched the properties of the menuitems and I didn't find any property
that will identify the menu with a unique manner. (Maybe the index but it
seams to not be a good idea)
Do you thing that i must store it as a xml in a Sql server table ?

Thanks in advance
Greg.
Nov 21 '05 #2
Ken ,
I did not find any relate about my issue.

Thanks
"Ken Tucker [MVP]" wrote:
Hi,

http://msdn.microsoft.com/library/de...et02122002.asp

Ken
------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
I am facing a problem :
I would like to have the mainmenu specialized for every user of an app.
That means every user must have or not access to the specified menu or sub
menu.
My idea is to store the menu in a table and give the appropriate permission
for every item for the underling user or template.(enabled or disabled)
I searched the properties of the menuitems and I didn't find any property
that will identify the menu with a unique manner. (Maybe the index but it
seams to not be a good idea)
Do you thing that i must store it as a xml in a Sql server table ?

Thanks in advance
Greg.

Nov 21 '05 #3
Ken ,
I did not find any relate about my issue.

Thanks
"Ken Tucker [MVP]" wrote:
Hi,

http://msdn.microsoft.com/library/de...et02122002.asp

Ken
------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
I am facing a problem :
I would like to have the mainmenu specialized for every user of an app.
That means every user must have or not access to the specified menu or sub
menu.
My idea is to store the menu in a table and give the appropriate permission
for every item for the underling user or template.(enabled or disabled)
I searched the properties of the menuitems and I didn't find any property
that will identify the menu with a unique manner. (Maybe the index but it
seams to not be a good idea)
Do you thing that i must store it as a xml in a Sql server table ?

Thanks in advance
Greg.

Nov 21 '05 #4
Hi,

You can data bind to the menus enabled property and store the data
in either xml or a sql server database.

Ken
-------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
Ken ,
I did not find any relate about my issue.

Thanks
"Ken Tucker [MVP]" wrote:
Hi,

http://msdn.microsoft.com/library/de...et02122002.asp

Ken
------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
I am facing a problem :
I would like to have the mainmenu specialized for every user of an app.
That means every user must have or not access to the specified menu or sub
menu.
My idea is to store the menu in a table and give the appropriate
permission
for every item for the underling user or template.(enabled or disabled)
I searched the properties of the menuitems and I didn't find any property
that will identify the menu with a unique manner. (Maybe the index but it
seams to not be a good idea)
Do you thing that i must store it as a xml in a Sql server table ?

Thanks in advance
Greg.

Nov 21 '05 #5
Hi,

You can data bind to the menus enabled property and store the data
in either xml or a sql server database.

Ken
-------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
Ken ,
I did not find any relate about my issue.

Thanks
"Ken Tucker [MVP]" wrote:
Hi,

http://msdn.microsoft.com/library/de...et02122002.asp

Ken
------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
I am facing a problem :
I would like to have the mainmenu specialized for every user of an app.
That means every user must have or not access to the specified menu or sub
menu.
My idea is to store the menu in a table and give the appropriate
permission
for every item for the underling user or template.(enabled or disabled)
I searched the properties of the menuitems and I didn't find any property
that will identify the menu with a unique manner. (Maybe the index but it
seams to not be a good idea)
Do you thing that i must store it as a xml in a Sql server table ?

Thanks in advance
Greg.

Nov 21 '05 #6
Thanks a lot Ken.

"Ken Tucker [MVP]" wrote:
Hi,

You can data bind to the menus enabled property and store the data
in either xml or a sql server database.

Ken
-------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
Ken ,
I did not find any relate about my issue.

Thanks
"Ken Tucker [MVP]" wrote:
Hi,

http://msdn.microsoft.com/library/de...et02122002.asp

Ken
------------------
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:1C**********************************@microsof t.com...
I am facing a problem :
I would like to have the mainmenu specialized for every user of an app.
That means every user must have or not access to the specified menu or sub
menu.
My idea is to store the menu in a table and give the appropriate
permission
for every item for the underling user or template.(enabled or disabled)
I searched the properties of the menuitems and I didn't find any property
that will identify the menu with a unique manner. (Maybe the index but it
seams to not be a good idea)
Do you thing that i must store it as a xml in a Sql server table ?

Thanks in advance
Greg.


Nov 21 '05 #7

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

Similar topics

11
by: yaktipper | last post by:
This explains how to disable the view source / right-click menu in Netscape 4, Netscape 6 and Internet Explorer (IE). <script language="JavaScript"> //This code is the beginning of the right...
4
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
0
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...
1
by: Bryan Russell | last post by:
I've taken over an access database and was provided the admin password. My first task is to change the admin password, but my problem is that the 'Tools' menu has been removed to access the...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
4
by: Bart | last post by:
Hi, I have a menu on my master page. When I click on a menu item the state is reset after the page is redirected to the NavigateURL. How can fix this? Thanks Bart
5
by: dpomt | last post by:
When the ASP.NET menu is rendered on downlevel browers, the text "^ up one level" is displayed. Any ideas how I can change that text? I did not find a property for the menu control where I can...
1
by: S P | last post by:
Hi All, I am developing an ASP.NET 2.0 application. I want to show the menu, depending on the user role. How can I implement that? Currently I store all the menu details in XML file and...
0
by: rmgalante | last post by:
Hi, I've got my site configured to use a menu control, a site map, security trimming, and roles. Everything seems to be working, except I have the following problem. If I define a...
1
by: Seth Williams | last post by:
Let's say I have an ASP.Net menu, with a datasourceID of a siteMapPath, which of course is based on a web.sitemap file Based on the person logged into the page, I have code in files in the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.