Browse by Tags

Related Posts

  • Re: Using Windows Authentication Mode for internal Form need to capture currently logged in user for data

    I am just about to give up. I have made it as simple as I can without on the frills to debug. I have a repeater on a aspx page below, should I be using the Profile Parameter to get the UserName from the code behind? Maybe that is my issue. What type of parameter will pull the user name from the code...
    Posted to Security (Forum) by rcain on 04-07-2008, 12:00 AM
    Filed under: User Information, User.identity, User.Identity.Name, .net 2.0 security, windows authentication, Windows authentication forms authentication windows Groups, windows authentications, login control events
  • Using Windows Authentication Mode for internal Form need to capture currently logged in user for data

    I have created a form that an instructor can select their course and then go to another screen to enter data regarding that course. I need to be able to use windows authentication so the instructor can view only their courses. I have tried using membership controls and assigning to a label and then assigning...
    Posted to Security (Forum) by rcain on 04-02-2008, 12:00 AM
    Filed under: Roles Based Security, Security membership, Session and Identity.IsAuthenticated, user authentication, User Identity, User Information, User session, User.identity, User.Identity.Name, Active Directory, ActiveDirectoryMembershipProvider Membership Authentication Configuration, ActiveDirectoryMembershipUser ActiveDirectoryMembershipProvider override cast, c# in Asp.net, controls, Custom Authentication, custom authentication sql database asp.net C#, Forms authentication, forms authentication ActiveDirectoryMembershipProvider AspNetWindowsTokenRoleProvider, FormsAuthentication Active Directory, FormsAuthentication userID, How to, Logged in username, login usercontrol, logon, Logon Control Authentication, database login sql, Membership API, membership authentication, windows authentication, windows authentication forms authentication, Windows authentication forms authentication windows Groups, windows authentication forms authentication windows password, Windows Authentication Forms Mix Custom, windows authentications, Form Authentication problem, form based authentication
  • Formview: Cannot insert the value NULL into column 'swCreatedBy'...

    I'm getting the following error: Cannot insert the value NULL into column 'swCreatedBy'... column does not allow nulls. INSERT fails . I thought that my code-behind was taking the currently logged user and filling the swCreatedBy field. Maybe I've been working on this thing too long....
    Posted to Data Presentation Controls (Forum) by therod0308 on 11-18-2007, 12:00 AM
    Filed under: user.identity.name, formview control
  • AD / ADAM authentication and IIS 6.0 (C#)

    I'm working on a solution for my employer that grabs the currently logged in user's name using a WindowsIdentity method, and compares that to an Active Directory LDAP query to get the "Title" property. If the title property matches a list of permitted titles in the code-behind, it grants...
    Posted to Security (Forum) by fivepoundunit on 08-11-2007, 12:00 AM
    Filed under: NTauthentication, SearchResult, SearchResultCollection, Security - membership, security - membership users, Security membership, System.Net.NetworkCredential nt-authentication, user, user authentication, User Identity, User Information, User.Identity.Name, UserName, users, Virtual Directory, Visual Studio, visual web developer, Web, web application project, Active Directory, authentication browsers, authentication user management forms blog, Authorization, IIS6, impersonate, impersonate impersonation web.config, impersonation, LDAP, Logged in username, membership, membership authentication, membership authentication redirect, windows authentication, windows authentication forms authentication, windows authentications, Web.config, IIS, Validation, authentication
  • Defaultnetworkcredential are empty

    I have a web apps on a win 2003 server that access a web services on a different web server 2003. When everything is on the same machine it works but when I split them I got a HTTP status 401: Unauthorized. I have impersonate set to true and using <authentication mode="Windows"/>. The...
    Posted to Security (Forum) by Groslot on 08-10-2007, 12:00 AM
    Filed under: SPN, User.Identity.Name, 2.0, Access is denied, impersonate, Impersonatenation, Integrated Authentication, IPrincipal, windows authentications, .net security, Kerberos Authentication Integrated IIS Virtual Directory, authentication
  • single signin for multiple application wouldn't work..

    hi everybody, I am trying to develop a single signin for more application. i have try to set the validationKey and decryptionKey for both application but at machinekey but it wouldn't work. i try to check user.identity.isauthentication is give me true. why it works like that? any suggestion? and how...
    Posted to Security (Forum) by etws14 on 03-16-2007, 12:00 AM
    Filed under: security, User.Identity.Name, ASP.NET 2.0, authentication cookie ticket, Authorization, Forms authentication, FormsAuthentication, FormsAuthentication authorization web.config, FormsAuthentication IE7 SetAuthCookie RedirectFromLoginPage, FormsAuthentication userID, Web.config, Application_AuthenticateRequest, ASP.NET Authentication, 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, User.Identity.Name, users, Access, authentication authorization messages, Authorization, Web.config, authentication, asp.net forms authentication shtml server side includes IIS
  • Re: user.identity.name doesn't work on server

    Hi, If you are using User.Identity.Name and implementing Windows Authentication, make sure that you turn off anonymous access in your Web.Config. Your Web.Config should read as follows:- <authentication mode="Windows" /> <authorization> <deny users="?" /> </authorization> Write...
    Posted to Security (Forum) by ranganh on 01-11-2007, 12:00 AM
    Filed under: User.Identity.Name, Authorization, Web.config
  • Retrieving User Role and storing it

    Is there a way that i can retrieve the user's role and store it into a string and possibly a label?
    Posted to Security (Forum) by ams015 on 02-05-2008, 12:00 AM
    Filed under: User Information, user management, user roles, User.identity, User.Identity.Name
  • 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 2 (11 items) 1 2 Next >