Browse by Tags

Related Posts

  • 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: FormsAuthentication, Authentication Redirect, security, membership, role, DestinationPageURL, role security authorization, Membership Role Provider authentication parameters, Security - membership, login control session variable, loginstatus control, ASP.NET Membership, login pages, FormsAuthentication authorization web.config, authentication authorization messages, Web.config, Role Provider, authentication, login usercontrol, FormsAuthentication userID, ASP.NET 2.0, Authorization, Loginview, login control
  • Duplicate user entries in aspnet_Users

    Hi, I have noticed that there are duplicates of some users in my sql database. Each pair of entries have different application IDs. For example, when I do the following, duplicate names are displayed for most of the existing users: foreach (MembershipUser user in Membership.GetAllUsers()) { DropDownList1...
    Posted to Security (Forum) by kreid on 11-10-2006, 12:00 AM
    Filed under: Profile, membership, role, users, sql Server 2005, Web.config, Role Provider
  • 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: provider, role, role security authorization, Membership Role Provider authentication parameters, ASP.NET Membership, error, Web.config, Role Provider, Virtual Directory, ASP.NET 2.0, Authorization, Loginview, RoleManagerModule bug
  • 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: security, role, role security authorization, ASP.NET Membership, Web.config, Role Provider, ASP.NET 2.0, Authorization, C#, role member security
  • Securing documents generates web.config-error

    I try to hide documents from non-logged-in users. I got a directory (/HiddenDocuments) where I got some secret documents. If I try to load a file from this directory and is not logged in, I will be redirect to a login page, which is great. My problem is when I try to load a file from another place (not...
    Posted to Security (Forum) by Aimit on 06-08-2007, 12:00 AM
    Filed under: ASP.NET, HttpModule, role, Web.config, ASP.NET 2.0, HttpHandler
  • Security Trimming and TreeView Site Navigation in Windows mode authentication

    Hi guys, I have a custom sitemap provider, which reads and loads the sitemap data from sql database which is then used with a treeview control for site navigation. Roles are also loaded from database for each node, for example AdminRole , FeesRole , CommunicationRole for the root node and only AdminRole...
    Posted to Security (Forum) by Mehdi6002 on 10-10-2007, 12:00 AM
    Filed under: ASP.NET, role, Security - membership, Web.config, Role Provider, authentication, ASP.NET 2.0, sitemap, role member security, ASP.NET Authentication, Roles Provider, Membership Role Profile Provider, security roles numeric integer access levels, windows authentication, windows authentication forms authentication, Roles Based Security, role manager, windows authentications, Security membership, .net security, membership provider subdomain credentials, ASP.NET Authorization role profile provider, roles, roles authorizations web.config security, role-based security, web.confg authorization problem, asp.net 2.0 memembership, SecurityTrimmingEnabled, Windows authentication forms authentication windows Groups, Security Trimming
  • how to authorization users?

    I have a web application . Now I want to set up asp.net security. I have 3 role sush as admin, member, visitor. My web application has 2 directories sush as AdminApp folder, VisitorApp( view.aspx, send.aspx, update.aspx) folder. I want to allow admin access all folder and member to access VisitorApp...
    Posted to Security (Forum) by truongthang on 11-29-2007, 12:00 AM
    Filed under: membership, role, ASP.NET Membership, Web.config, asp.net forms authentication shtml server side includes IIS, role member security, membership authentication redirect, ASP.NET Authentication, Forms authentication, role-based security, .net 2.0 security
  • 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: ASP.NET, Authentication Redirect, Profile, membership, provider, role, asp.net 2.0 login control aspnetdb iis problems errors, ASP.NET Membership, users, authentication authorization messages, Web.config, Role Provider, authentication, FormsAuthentication userID, ASP.NET 2.0, Authorization, custom membership provider, aspnet_regiis location section identity encrypt, membership Provider createuser profile provider, Membership Update, Page level forms authentication 2.0 Membership, C#, custom membership, Membershipship, ProfileProvider, Membership Provider, formsAuthentication membership roleproviderr, membership authentication redirect, User.Identity.Name, membership provider minRequiredPasswordLength minRequiredNonalphanumericCharacters, HashPasswordForStoringInConfigFile
Page 1 of 1 (8 items)