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. General Programming
  3. C#
  4. Secure page with C#.NET

Secure page with C#.NET

Scheduled Pinned Locked Moved C#
csharpsecurityquestion
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.
  • M Offline
    M Offline
    mghiassi
    wrote on last edited by
    #1

    Hi all, I want secure pages with C#.NET and I write this code in web.config for this prepose <authentication mode="Forms"> <forms name="myCookie" loginUrl="login.aspx" timeout="30"> <credentials passwordFormat="Clear"> <user name="myUserName" password="myPassword"/> </credentials> </forms> </authentication> <authorization> <allow users="yekdose"/> <deny users="?"/> </authorization> but in the first page I didn't access to another pages. Please hlp me. Thanks in advance.

    D 1 Reply Last reply
    0
    • M mghiassi

      Hi all, I want secure pages with C#.NET and I write this code in web.config for this prepose <authentication mode="Forms"> <forms name="myCookie" loginUrl="login.aspx" timeout="30"> <credentials passwordFormat="Clear"> <user name="myUserName" password="myPassword"/> </credentials> </forms> </authentication> <authorization> <allow users="yekdose"/> <deny users="?"/> </authorization> but in the first page I didn't access to another pages. Please hlp me. Thanks in advance.

      D Offline
      D Offline
      Dave Sexton
      wrote on last edited by
      #2

      Have you seen this[^]?

      But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
      Because programming is an art, not a science. Marc Clifton
      I gave up when I couldn't spell "egg". Justine Allen

      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