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
  • User.IsInRole not working as expected

    Hi all I've read numerous posts where the straight answer is "Just use User.IsInRole("Domain\Group")... " but I cant get it to work, so now I looking for a "For Dummies guide". My code looks something like this: if (User.IsInRole( "Domain\\Editor" )) { ... } Please note that I use a \\ instead of \,...
    Posted to Active Directory and LDAP (Forum) by EgilOfBorg on 11-09-2006, 12:00 AM
    Filed under: authentication, Security
  • Re: User.IsInRole not working as expected

    Hi albert I actually managed to get it sorta working. It seems that if I use a builtin group (like "Domain Admins") it works as expected. But I can't for the life of me get it to work with custom security groups. Does IsInRole simply not work with custom security groups or is the syntax different? Thanks...
    Posted to Active Directory and LDAP (Forum) by EgilOfBorg on 11-10-2006, 12:00 AM
    Filed under: authentication, Security
  • ActiveDirectoryMembershipProvider and nt domain

    Hello to all: I am trying to use the MembershipProvider to authenticate against my company's NT Domain for my ASP.NET 2.0 application. So my question is can ActiveDirectoryMembershipProvider connect to NTDomain? Or maybe there are something like an NTDomainMembershipProvider ? Thanks in advance.
    Posted to Active Directory and LDAP (Forum) by cWc on 11-15-2006, 12:00 AM
    Filed under: authentication, Security
  • Help, New user has can only login once

    I am trying to follow a basic forms based security tutorial in O'Reilly's Visual Basic 2005. When I create a new user using the Web Site Administration tool, I can login once, but after that the login form and the recover password form can't seem to find the user again. If I go in and add a new user...
    Posted to Security (Forum) by jamesfallison on 11-20-2006, 12:00 AM
    Filed under: security, authentication, CreateUser
  • Site Navigation

    Hi, I was hoping someone could point me in the right direction. I am trying to set up navigation (sitemap) for users that belong to a set of GROUPS and a set of CATALOGS (i.e. userA is in grp1,grp2 AND also in catX,catY,catZ). I would like to filter the menus based on both these criteria but am unable...
    Posted to Security (Forum) by vasigus on 12-07-2006, 12:00 AM
    Filed under: security, authentication, sitemap, login
  • Localization and Windows Integrated IIS security related question

    For quite some time we were using IIS Integrated Windows security to authenticate users in our ASP.NET application. Only recently we discovered that it has an unexpected behavior when domain user name contains some international (accented) characters. Authentication completes successfully but the LOGON_NAME...
    Posted to Security (Forum) by mkouts on 12-07-2006, 12:00 AM
    Filed under: ASP.NET, security, authentication
  • Re: user.identity.name doesn't work on server

    I tried as u mentioned.. as making changes like below to my web.config and turning off the anonymous access. still it is poping up the username and password window. < system.web > < compilation debug = " true " /> < authentication mode = " Windows " /> < authorization > < deny...
    Posted to Security (Forum) by BhaveshPatel on 01-11-2007, 12:00 AM
    Filed under: security, users, authentication authorization messages, Web.config, authentication, Authorization, asp.net forms authentication shtml server side includes IIS, Access, User.Identity.Name
  • ActiveDirectoryMembershipProvider slow - solution

    Hey guys, I've been fighting a problem where our website logins can take between 30 seconds and 2 minutes before failing due to a timeout. This was happening when the site application pool was recycled or after a period of inactivity. After the first failure, each additional login occurred quickly. I...
    Posted to Active Directory and LDAP (Forum) by ChrisLively on 01-17-2007, 12:00 AM
    Filed under: authentication, Security, Active Directory, Slow, Timeout, ActiveDirectoryMembershipProvider
  • Sitemap Problem when transfered to IIS 6

    Hello All, I'm having an issue with my sitemap menu not trimming the menu items. Now let me start by saying this all worked fine under IIS 5.1. When we put this out on IIS 6.0 all the menu items show up regardless of the roles stated and the matching roles and authorization settings on the web.config...
    Posted to Security (Forum) by irpere on 02-08-2007, 12:00 AM
    Filed under: security, role security authorization, authentication, ASP.NET 2.0, sitemap, IIS
Page 1 of 3 (27 items) 1 2 3 Next >