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 security > access rules apply to whole folder rather than single form

asp.net security > access rules apply to whole folder rather than single form

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsecuritytutorialworkspace
3 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.
  • A Offline
    A Offline
    Asif Rehman
    wrote on last edited by
    #1

    I need to allow access to particular users for some forms lying in the same folder. I don't know how to do it using builtin ASP.NET Security setup. because new access rule is showing only folder not files (Forms.aspx). Regrads Asif Rehman

    S 1 Reply Last reply
    0
    • A Asif Rehman

      I need to allow access to particular users for some forms lying in the same folder. I don't know how to do it using builtin ASP.NET Security setup. because new access rule is showing only folder not files (Forms.aspx). Regrads Asif Rehman

      S Offline
      S Offline
      Shahriar Iqbal Chowdhury Galib
      wrote on last edited by
      #2

      Asif Rehman wrote:

      because new access rule is showing only folder not files (Forms.aspx)

      can you clarify the issue in more details? Are you using form authentication?If so you can allow user to access a file under secured folder specifying the role.

      A 1 Reply Last reply
      0
      • S Shahriar Iqbal Chowdhury Galib

        Asif Rehman wrote:

        because new access rule is showing only folder not files (Forms.aspx)

        can you clarify the issue in more details? Are you using form authentication?If so you can allow user to access a file under secured folder specifying the role.

        A Offline
        A Offline
        Asif Rehman
        wrote on last edited by
        #3

        can you clarify the issue in more details? Are you using form authentication?If so you can allow user to access a file under secured folder specifying the role. I'm using Form authentication using builtin AWT (security tool). I want to give access to different users under single folder. e.g. Folder A -- file1.aspx allowed to userA only -- file2.aspx allowed to userA,B only -- file3.aspx allowed to userC only Now builtin tool allow folder-based authorization. I don't want to move every file to separate folder as in future authorization may change. How can I put authorization form by form using built-in tool. If its not possible, then how to do it manually or programmatically. Hope I've clarified my point. Regards Asif Rehman

        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