Browse by Tags

Related Posts

  • Using Membership & Roles with SiteMap Provider and Menu Navigation

    Hi, I am trying to use Roles to determine which menu nodes a user sees. I am running ASP.Net 2.0 on IIS 5.1, and have everything set up in the database to account for membership. roles, and users in roles. I am using the System.Web.UI.WebControls.Menu web control with the SiteMapDataSource set to a Web...
    Posted to Security (Forum) by diver on 04-16-2007, 12:00 AM
    Filed under: role, Role Provider, Roles Provider, ASP.NET 2.0, Authorization, FormsAuthentication authorization web.config, formsAuthentication membership roleproviderr, membership Provider groups privileges roles, Membership Role Provider authentication parameters, role member security, role security authorization
  • Switching RoleProviders at runtime

    Hi, I have an application that is using a Menu control with securityTrimming enabled. I understand ( but I might be wrong here!) that this control uses the default Role provider in the web.config to determine what to show and what not, according to the roles the user belongs to. I wrote my own custom...
    Posted to Security (Forum) by luisetxe on 02-20-2007, 12:00 AM
    Filed under: role, role member security, Role Provider, role security authorization, security, ASP.NET 2.0, ASP.NET Membership, Authorization, C#, Web.config
  • Role Management Mystery

    Hello ASP.NET Geniuses; I need your help! I have a problem with what I am guessing is Role Management related. I am going to describe the problem from the start so that maybe you will see a clue. I started a new site with the focus on the new 2.0 controls, mainly the Master Page and Login controls. I...
    Posted to Security (Forum) by barusa on 01-18-2007, 12:00 AM
    Filed under: role, role member security, Role Provider, role security authorization, RoleManagerModule bug, Security - membership, ASP.NET Membership, Authorization, FormsAuthentication, membership, Membership Provider, membership authentication redirect, authentication
  • Code not working on IIS

    Hi, i am using the following sample code to show the existing Roles, but this code works only on ASP.NET development server ( http://localhost:2775/App/Default.aspx ), but when i am calling this application through http://localhost/App/Default.aspx , it does'nt work. string [] roles = Roles .GetAllRoles...
    Posted to Security (Forum) by sohaiil on 12-14-2006, 12:00 AM
    Filed under: role, Role Provider, RoleManagerModule bug, Security - membership, ASP.NET, ASP.NET 2.0, ASP.NET Membership, authentication authorization messages, Authorization, Curren User, authentication, role security authorization
  • Roles and SQL Server Access

    Hi, I am trying to dynamically assign roles after authenticating against the active directory. I would like to write Roles .AddUserToRole(txtUsername.Text, "staff" ); and the use the web.config file to only allow "staff" members to access a folder: < location path = " staff " > < allow roles...
    Posted to Security (Forum) by DavidKiff on 12-07-2006, 12:00 AM
    Filed under: role, Role Provider, RoleManagerModule bug, authentication authorization messages, Authentication Redirect, Authorization, FormsAuthentication, FormsAuthentication Active Directory, FormsAuthentication authorization web.config, FormsAuthentication userID, authentication, role security authorization
  • Multiple Role Providers with Authorization issue...

    Ok, I'm currently building a webfarm for my girlfriend's start-up. I have 3 SQL databases I'm able to sign-in to using multiple membership providers. Now my situation is when using Authorization/Roles providers. I'm able to program using roles with the same concept used for authenication/membership,...
    Posted to Security (Forum) by raylinder on 11-21-2006, 12:00 AM
    Filed under: role, Role Provider, RoleManagerModule bug, ASP.NET 2.0, Authorization, error, Loginview, Membership Role Provider authentication parameters, provider, Web.config, role security authorization, Virtual Directory, ASP.NET Membership
  • training video problem....

    Hi. I have just been working through the ASP.Net 2.0 training video (Bob tabor : number 09 - Securing your Website with Membership and Login Controls) and have come across a problem. In the demo, towards the end, it shows you how to check that a user is a member of a Role. The code used is: - Protected...
    Posted to Security (Forum) by dbrook007 on 11-02-2006, 12:00 AM
    Filed under: role, Role Provider, security, Security - membership, ASP.NET 2.0, authentication authorization messages, Authentication Redirect, Authorization, DestinationPageURL, FormsAuthentication, FormsAuthentication userID, login usercontrol, Loginview, Membership Role Provider authentication parameters, Web.config, login control, login control session variable, login pages, authentication, role security authorization, ASP.NET Membership, FormsAuthentication authorization web.config, loginstatus control, membership
  • Can I encrypt Web.config section in Meduim Trust Level?

    Can some one please help. I would like to know can I encrypt Web.Config (section) in Meduim Trust Level? Thanks
    Posted to Security (Forum) by JigneshP on 01-17-2007, 12:00 AM
    Filed under: Page level forms authentication 2.0 Membership, Profile, ProfileProvider, role, Role Provider, User.Identity.Name, users, ASP.NET, ASP.NET 2.0, asp.net 2.0 login control aspnetdb iis problems errors, ASP.NET Membership, authentication authorization messages, Authentication Redirect, Authorization, C#, custom membership, custom membership provider, formsAuthentication membership roleproviderr, FormsAuthentication userID, HashPasswordForStoringInConfigFile, membership, Membership Provider, membership Provider createuser profile provider, membership provider minRequiredPasswordLength minRequiredNonalphanumericCharacters, Membership Update, Membershipship, membership authentication redirect, provider, Web.config, aspnet_regiis location section identity encrypt, authentication
Page 1 of 1 (8 items)