473,473 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Role-based security

I would like to setup role-based security for my forms, however I'm having
trouble working through an example I found.

The example suggests creating a subdirectory for each role. I haven't been
able to find a way to create pages in subdirectories in VS.

Can this be done? Or can anyone suggest another example?

Thanks in advance,
Scott Natwick

http://www.devhood.com/tutorials/tut...utorial_id=433

Nov 18 '05 #1
6 1458
What authentication model are you using? Windows or Forms?

"Scott Natwick" wrote:
I would like to setup role-based security for my forms, however I'm having
trouble working through an example I found.

The example suggests creating a subdirectory for each role. I haven't been
able to find a way to create pages in subdirectories in VS.

Can this be done? Or can anyone suggest another example?

Thanks in advance,
Scott Natwick

http://www.devhood.com/tutorials/tut...utorial_id=433

Nov 18 '05 #2
I bothered to look at that link:
The title "Role-based Security with Forms Authentication" gave me some clue...

Take a look at examples here:

http://www.superexpert.com/default.aspx?id=355

"Scott Natwick" wrote:
I would like to setup role-based security for my forms, however I'm having
trouble working through an example I found.

The example suggests creating a subdirectory for each role. I haven't been
able to find a way to create pages in subdirectories in VS.

Can this be done? Or can anyone suggest another example?

Thanks in advance,
Scott Natwick

http://www.devhood.com/tutorials/tut...utorial_id=433

Nov 18 '05 #3
Thanks for link.

I'm still having trouble, though. Even one of the examples on the page you
refferenced has a page in a subdirectory. Can this be done? I haven't been
able to find a way.

loginUrl="/login/mylogin.aspx"

Thanks again,
Scott Natwick

http://www.superexpert.com/default.aspx?id=366

"WebMatrix" <We*******@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
I bothered to look at that link:
The title "Role-based Security with Forms Authentication" gave me some
clue...

Take a look at examples here:

http://www.superexpert.com/default.aspx?id=355

"Scott Natwick" wrote:
I would like to setup role-based security for my forms, however I'm
having
trouble working through an example I found.

The example suggests creating a subdirectory for each role. I haven't
been
able to find a way to create pages in subdirectories in VS.

Can this be done? Or can anyone suggest another example?

Thanks in advance,
Scott Natwick

http://www.devhood.com/tutorials/tut...utorial_id=433

Nov 18 '05 #4
I successfully developed an app using role-based forms authentication
by using the techniques outlined in these articles:
http://support.microsoft.com/default...b;en-us;311495
http://www.4guysfromrolla.com/webtech/121901-1.2.shtml

Here is another article you may find useful as well:
http://www.eggheadcafe.com/articles/20020906.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Scott Natwick" <no**********@yahoo.com> wrote in message
news:4b********************@comcast.com...
I would like to setup role-based security for my forms, however I'm having
trouble working through an example I found.

The example suggests creating a subdirectory for each role. I haven't
been able to find a way to create pages in subdirectories in VS.

Can this be done? Or can anyone suggest another example?

Thanks in advance,
Scott Natwick

http://www.devhood.com/tutorials/tut...utorial_id=433

Nov 18 '05 #5
Got it. Nevermind.

"Scott Natwick" <no**********@yahoo.com> wrote in message
news:kb********************@comcast.com...
Thanks for link.

I'm still having trouble, though. Even one of the examples on the page
you refferenced has a page in a subdirectory. Can this be done? I
haven't been able to find a way.

loginUrl="/login/mylogin.aspx"

Thanks again,
Scott Natwick

http://www.superexpert.com/default.aspx?id=366

"WebMatrix" <We*******@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
I bothered to look at that link:
The title "Role-based Security with Forms Authentication" gave me some
clue...

Take a look at examples here:

http://www.superexpert.com/default.aspx?id=355

"Scott Natwick" wrote:
I would like to setup role-based security for my forms, however I'm
having
trouble working through an example I found.

The example suggests creating a subdirectory for each role. I haven't
been
able to find a way to create pages in subdirectories in VS.

Can this be done? Or can anyone suggest another example?

Thanks in advance,
Scott Natwick

http://www.devhood.com/tutorials/tut...utorial_id=433


Nov 18 '05 #6
Got it. Thanks!

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I successfully developed an app using role-based forms authentication
by using the techniques outlined in these articles:
http://support.microsoft.com/default...b;en-us;311495
http://www.4guysfromrolla.com/webtech/121901-1.2.shtml

Here is another article you may find useful as well:
http://www.eggheadcafe.com/articles/20020906.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Scott Natwick" <no**********@yahoo.com> wrote in message
news:4b********************@comcast.com...
I would like to setup role-based security for my forms, however I'm having
trouble working through an example I found.

The example suggests creating a subdirectory for each role. I haven't
been able to find a way to create pages in subdirectories in VS.

Can this be done? Or can anyone suggest another example?

Thanks in advance,
Scott Natwick

http://www.devhood.com/tutorials/tut...utorial_id=433


Nov 18 '05 #7

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

Similar topics

1
by: tracy | last post by:
hi, just wonder, can we copy a role then add some new priviledges to the new role. hm.. i means, example; now i have a role named role_a. Then I copy role_a to create role_b. After I created...
2
by: Ted | last post by:
How do I grant all privileges for a schema that has a large number of existing tables, procedures, functions, etc to a newly created role, without having to issue a grant statement for each object...
1
by: Tom Dauria | last post by:
I have a SQL database with an Access front end. In the database I have a read only and a read write role. When a read only user opens the database I want all the fields on the form to be locked...
2
by: gudia | last post by:
How would I, using a sql script, copy permissions assigned to a user or a role in one or more databases to another user or a role in their respective databases? Help appreciated
8
by: Mark White | last post by:
Hey everyone I'm having a great deal of problems finding this information through google and yahoo, so I turn to you on this. I have a Windows app running on XP. I am able to caputre the...
0
by: ferherra | last post by:
Hi, Hope someone can help... I databind my gridview (asp.net 2.0) like this: GridView1.DataSource = Membership.GetAllUsers(); (MembershipUserCollection) GridView1.DataBind(); In the...
1
by: CK | last post by:
Does anyone have any experience with this? We have an exisitng sql database with user and role info. I need to write a custom role provider to use this data. Does anyone have any examples of this...
4
by: cybertoast | last post by:
i seem to have some misunderstanding about how roles work in sql server 2005. i see that i can add a role to a database (dbname->->properties->permissions->. THis allows me to add either users or...
3
by: Jo | last post by:
Hi, I know how to create membership user and to define role via "Administer website" in design mode of e.g. an ASP.NET login control. My questions are: 1) how to create a membership user...
2
by: Anthony Smith | last post by:
I have a user object that is set when a user logs in. There are also permissions that I get about the user from a web service. Currently I take the results from those web services and store them as...
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
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.