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 6 1487
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
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
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*******@disc ussions.microso ft.com> wrote in message
news:FB******** *************** ***********@mic rosoft.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
Got it. Nevermind.
"Scott Natwick" <no**********@y ahoo.com> wrote in message
news:kb******** ************@co mcast.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*******@disc ussions.microso ft.com> wrote in message news:FB******** *************** ***********@mic rosoft.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 role_b from role_a, i would
like to revoke some privileges in role_b without affecting role_a. Can
I and how to write the script?
regards,
tracy
|
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 and each
privilege? I want the role to have all of the rights of the schema
owner.
Is there any kind of blanket granting of all privileges to a role?
|
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 so that
the user will not try to change data and get an error from the server.
Right now I am doing that with a table. But it's a hassle to have to
maintain a table when if I could answer the question is the currently
logged in user in the read...
|
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
|
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 user's Name
property in the WindowsPrincipal's IIdentity interface.
Where can I find the role that the user is assigned for the current login?
I only want the one role which is assigned for the current user, not all of
| |
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 GridView1_RowDataBound eventhandler
I'm getting the user role for each user (each user will only have and
|
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 being done? I have googled it
and I see on MSDN an XMLReadOnlyRoleProvider. I need something similiar to
this. When writing a custom role provider, does the developer write the
ADO.NET code in the methods to retrieve the user and role info? My only...
|
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 roles. Users can be added programmatically
using sp_grantdbaccess @username, but this does not allow for addition
of roles to access the database (i.e., sp_grantdbaccess @rolename does
not work).
Is there some other command that is used to add...
|
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 directly in web.config?
2) how to define a role directly in web.config?
3) how to assign a existing membership user to an existing role in
web.config?
|
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 XML in the
user object so I can parse it when I need to look at them. I wanted to
turn the xml permissions into ROle objects, but does that mean that my
User class needs to make reference to the Role class?
User class example
class User{
|
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...
| |
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,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
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
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |