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
  • 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
  • Re: Your login attempt was not successful. Please try again.

    I am aso having the same problem, please read the details below. I have a standard Login ASP.NET 2.0 control on a login Page, a LoginName and LoginStatus controls on the member's page. once the user login successfully I am redirecting the user to Member.aspx page. The following is my machine configuration...
    Posted to Security (Forum) by Muder on 12-03-2006, 12:00 AM
    Filed under: FormsAuthentication, Authentication Redirect, IIDentity, membership, Membership Role Provider authentication parameters, ASP.NET Membership, users, FormsAuthentication authorization web.config, authentication authorization messages, Web.config, authentication, ASP.NET 2.0, Authorization, login control, asp.net forms authentication shtml server side includes IIS, membership Provider createuser profile provider, Membership Update
  • 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: Web.config, Authorization, User.Identity.Name
  • 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
  • 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
  • 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: FormsAuthentication, security, FormsAuthentication authorization web.config, Web.config, Application_AuthenticateRequest, authentication, FormsAuthentication userID, ASP.NET 2.0, Authorization, User.Identity.Name, ASP.NET Authentication, FormsAuthentication IE7 SetAuthCookie RedirectFromLoginPage, authentication cookie ticket, Forms authentication
  • subfolder permissions w/ web.config not working...

    OK, i lookd through here and google, but to no avail. the web.config in the root folder works great, but when i add a web.config to any subdirectories or use <location> in the root one, i am still able to access the directories directly in the address bar i.e. http://www.website.com/admin/ lists...
    Posted to Security (Forum) by freek on 06-05-2007, 12:00 AM
    Filed under: Web.config, ASP.NET 2.0, Authorization, <location>, Access rules, 2.0
  • 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: System.Net.NetworkCredential nt-authentication, membership, LDAP, Security - membership, users, Web.config, Virtual Directory, authentication, Authorization, Validation, impersonate, Web, IIS, membership authentication redirect, impersonate impersonation web.config, User.Identity.Name, UserName, user, security - membership users, impersonation, authentication user management forms blog, membership authentication, visual web developer, Visual Studio, windows authentication, SearchResult, Active Directory, SearchResultCollection, web application project, windows authentication forms authentication, User Information, authentication browsers, windows authentications, User Identity, user authentication, Security membership, Logged in username, NTauthentication, IIS6
  • The request failed with HTTP status 401: Access Denied exeception - While calling webservice from client application.

    Hello All, I am getting "The request failed with HTTP status 401: Access Denied exeception" When I call web service from my windows client application (web service and client is on same machine). Anonymous authentication is turned off for webservice and using windows authentication. Following...
    Posted to Security (Forum) by subinkj on 09-03-2007, 12:00 AM
    Filed under: FormsAuthentication, Authentication Redirect, FormsAuthentication authorization web.config, Web.config, Application_AuthenticateRequest, authentication, ASP.NET 2.0, Authorization, Web, C-Sharp, WS-Security, DirectoryServices, ASP.NET Authentication, WebDav - ASP.NET 2.0, Windows Authentication Forms Mix Custom, authentication cookie ticket, authentication user management forms blog, Forms authentication, windows authentication, windows authentication forms authentication, authorization store, authentication web.config path domain www, application pool, web service, Membership Login Service Role webservice, windows authentications, WSE 2.0, web.config password membership
Page 1 of 2 (16 items) 1 2 Next >