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
  • 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: FormsAuthentication, FormsAuthentication Active Directory, Authentication Redirect, role, role security authorization, FormsAuthentication authorization web.config, authentication authorization messages, Role Provider, authentication, FormsAuthentication userID, Authorization, RoleManagerModule bug
  • 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: ASP.NET, role, role security authorization, Security - membership, ASP.NET Membership, authentication authorization messages, Role Provider, authentication, ASP.NET 2.0, Authorization, RoleManagerModule bug, Curren User
  • 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: FormsAuthentication, membership, role, role security authorization, Security - membership, ASP.NET Membership, Role Provider, authentication, Authorization, RoleManagerModule bug, Membership Provider, role member security, membership authentication redirect
  • Restricting access to pdf files on a webpage

    Hi, The website im working on has a lot of pdf files and its viewing should be visible only to certain ip addresses(in other words internal ip addresses only), the website also has a few webpages with the same need can any one suggest me if there is an easy way to check for a valid ip (or internal ip...
    Posted to Security (Forum) by rean on 04-11-2007, 12:00 AM
    Filed under: security, role, authentication, ASP.NET 2.0, Access, file, ASP.NET Authentication
  • 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
  • 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 (7 items)