roles

How to set up access to MSSQL 2005 Database Mail?

I've just setup Database mail within MSSQL 2005. I have been able to send email from an administrator account on the server and through a SQL Server Agent job. But, I unable to send email when I tried to send email via a login that just has access to a database for our web application. What is the best way to set up access to Database M...

When is it too long for someone to return to a development role from other roles?

What would be the best way to bring people back to "their first love", i.e. programming, from other roles, e.g. sales, management, support, testing, etc. This may become an issue given the current state of the economy. I'm not talker about the CEO who last programmed ALGOL using punch cards, but someone who has more recently moved away...

How can I create a view that has different displays according to the role the user is in?

I want to create a view that has different displays according to the role the user is in. Should I create a different view for different roles or should I check the roles on the Veiw page itself rather than in the actions? How would I check the role on the view page? ...

ASP.NET Dynamic Data & Membership (Roles)

hi Everyone, I am trying to setup roles in a dynamic data website.. the problem is that i cant set it by simpy doing this. <location path="List.aspx"> <system.web> <authorization> <allow roles="Administrators" /> <deny users="*" /> </authorization> </system.web> </location> so even when i lo...

How stable/usable is SqlRoleProvider & aspnet_regsql?

Hi All, this isn't asp.net specific, some of these apps are WinForms, also will be adding some Wpf and possibly some silverlight apps in the future. I’ve a requirement to put role & permissions based access security into a new app we’re developing here. The .net RoleProviders in general, and SqlRoleProvider in particular seem to have e...

Preferred database design method for assigning user roles? (Hats vs. Groups)

I have medium sized MySQL database with a primary "persons" table which contains basic contact information about every human being connected to the theatre and theatre school for which I am responsible for maintaining and developing a number of web applications. Some persons are just contacts - that is, their "persons" table record is a...

Converting Single DB ASP.NET Site into MultiTenant - Membership and Roles Dilema

I'm in the process up changing a single SQL DB website (ASP.NET/VB.NET) into a multitenant app, where each client has their own database. In the old site, all the ASP roles, logins and providers pointed to the single database. Now we have multiple databases, I'm wondering what would the best architecture/techniques to use. There is one...

A user menu according to a Data Base role ?¿

Hi there guys, i need some of your programming experience, here is the issue: When a user logging into a WinForm application (C#.NET), how can i Assign dynamically a defined Menu (differ the menu depending on the user logged into my appz) according to a Role in the DataBase? Thanks in advance for your support, time and for share your k...

How create role to put in the database???

Hi all, i wish create a role for each user after that the user authenticate(login) to access to the application i will give some role to and save the role on the database. I will make an example with the database "aspnet.mdf" and Linq toSql to store data but before i need know how create role in c#(WPF) and after created i wish add ro...

What is the best way to setup permissions for web site users?

I'm working on a web site where each user can have multiple roles/permissions such as basic logging in, ordering products, administrating other users, and so on. On top of this, there are stores, and each store can have multiple users administrating it. Each store also has it's own set of permissions. I've confused myself and am not sur...

Oracle Application Server; What role in an organization typically supports the middle tier?

In medium to large organizations what team or group typically support middle tier components like Oracle Application Servers? (Unix Team, DBA Team, Or Application Development/Support Team) In a client server application design the delineation of ownership between the server and the client is very clear. In the client server case the U...

Role-based profiles for CAS

Introductory ramble Client Application Services (CAS) is the Microsoft solution for ASP.NET and WCF identity management. The default store is XML but nearly everyone reconfigures it to use ASPNETDB on MSSQL. There is support for per-user information in the shape of the .NET Profile. Within this, the application developer can define an ...

How do I allow multiple roles to see a page when using a custom RoleProvider in ASP.Net

I have created my own Role Provider because I found the one that ASP.Net provides to be way too bulky in terms of tables in the database. I found implementing a custom RoleProvider to be quite easy. My only problem is that right now I cannot have multiple roles for a page. I saw somewhere that at the top of your class you need to "anota...

Authorization Asp.net web.config

I have an application that has a backoffice. This backoffice was isolated with the use of roles like this: <location path="backoffice"> <system.web> <authorization> <allow roles="admin"/> <deny users="*"/> </authorization> </system.web> </location> But now we have another type of role that needs access. T...

allow multiple roles to access controller action

Right now I decorate a method like this to allow "members" to access my controller action [Authorize(Roles="members")] How do I allow more than one role? For example the following does not work but it shows what I am trying to do (allow "members" and "admin" access): [Authorize(Roles="members", "admin")] ...

[Architecture] Roles for white-label service access.

Okay, I know I'm doing something wrong - but can't figure out a better way. I am developing a website which is going to allow users to setup their own mini-websites. Something like Ning. Also, I have only 1 basic login and access to each mini website is provided (right now) via roles. So the way I am doing this right now is: Everytim...

Asp.Net Membership and Roles with Different Application Names

I ran into an interesting glitch (at least a glitch on my part) yesterday when an application I was testing had a different application name specified for the membership and role provider (membership was one, role was diferent one). I'm wondering if anyone knows of a resource that give me more information on the scenario. I then ran a ...

How to model diffrent views (roles) on a resource?

How can I model roles views restfully? Lets say I have a resource that can be viewed by a buyer or a seller (some content is shared between them on the resource, and some is unique to each one of them) Should i make them a seperate resource: /resource/1/buyer, /resource/1/seller or should i pass a format: /resource/1?viewer=seller ...

Thinking about scrapping my idea of writing a custom membership and roles provider. Opinions?

I've got a web app I'm building in ASP.NET that has the following security requirements: Must be able to integrate with a master authentication scheme that passes back a unique key to the application to indicate a user has logged in via a third-party site. Must be able to use existing user/roles tables. May use forms authentication and...

Role, Membership, Profiles, Principals, and Forms Authentication

I'm swimming in the relationships and hierarchies of a web application that I'm trying to secure with custom sql membership and role providers. I'm a little fuzzy on forms authentication, principals, and the like. So -- The web.config is set up for forms authentication with a custom membership provider and custom roles provider. When ...