Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASP.NET Configuration Manager

ASP.NET Configuration Manager

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netjsonquestionworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ctrlnick
    wrote on last edited by
    #1

    Hi , I understand that ASP.NET Configuration Manager can be used to control access rules for a website , but that is only on a developer's side, But If I would like to create a page on my website that an admin user can control the users/ roles of a website, Is there a way that I can use the Configuration Manager as an API to its functionalities.? Or is there any other way to do it Please respond if you know , Thank You

    Happy Programming! Regards, ctrlnick !

    D 1 Reply Last reply
    0
    • C ctrlnick

      Hi , I understand that ASP.NET Configuration Manager can be used to control access rules for a website , but that is only on a developer's side, But If I would like to create a page on my website that an admin user can control the users/ roles of a website, Is there a way that I can use the Configuration Manager as an API to its functionalities.? Or is there any other way to do it Please respond if you know , Thank You

      Happy Programming! Regards, ctrlnick !

      D Offline
      D Offline
      doWhileSomething
      wrote on last edited by
      #2

      The ConfigurationManager Class does not grant or deny access, it provides access to read configuration settings stored in .config files e.g. a web.config. You can use the web.config to create access rules to certain directories and/or pages. Then couple this with either the built in membership provider or create your own customer provider. Here is a link for more information: http://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx[^] Hope this helps!

      My Personal Site

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups