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. User based security

User based security

Scheduled Pinned Locked Moved ASP.NET
databasedesignsecuritytutorialquestion
6 Posts 4 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.
  • I Offline
    I Offline
    iamdking
    wrote on last edited by
    #1

    hello friends, I want to design role and user based security for my application. Can anyone suggest me..how to design database for this? or any idea regarding this? thanks in advance

    Amit

    B 1 Reply Last reply
    0
    • I iamdking

      hello friends, I want to design role and user based security for my application. Can anyone suggest me..how to design database for this? or any idea regarding this? thanks in advance

      Amit

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      For this you can use ASP.NET memebership. It will do everything for you including db etc. You just need to run aspnet_regsql command to create your database. For details have a look to the following links Link 1 Link 2 Let me know if you have any other requirement.

      Cheers!! Brij My Blog:http://brijbhushan.wordpress.com
      Check my latest Article :ViewState - Various ways to reduce performance overhead

      modified on Tuesday, September 7, 2010 3:31 AM

      A I 2 Replies Last reply
      0
      • B Brij

        For this you can use ASP.NET memebership. It will do everything for you including db etc. You just need to run aspnet_regsql command to create your database. For details have a look to the following links Link 1 Link 2 Let me know if you have any other requirement.

        Cheers!! Brij My Blog:http://brijbhushan.wordpress.com
        Check my latest Article :ViewState - Various ways to reduce performance overhead

        modified on Tuesday, September 7, 2010 3:31 AM

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        Brij wrote:

        You just need to run aspnet_regiis command to create your database.

        aspnet_regiis is used to register your IIS with ASP.NET Framework version. To create membership provider DB, you need to run aspnet_regsql command ! I guess that was your Typo !! :)

        Cheers ! Abhijit Jana | MVP Visit My Blog Abhijit's World of .NET | Follow Me @ twitter | Disclaimer

        B 1 Reply Last reply
        0
        • A Abhijit Jana

          Brij wrote:

          You just need to run aspnet_regiis command to create your database.

          aspnet_regiis is used to register your IIS with ASP.NET Framework version. To create membership provider DB, you need to run aspnet_regsql command ! I guess that was your Typo !! :)

          Cheers ! Abhijit Jana | MVP Visit My Blog Abhijit's World of .NET | Follow Me @ twitter | Disclaimer

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          yes that is typo.. Thanks for pointing. I'll update it

          Cheers!! Brij My Blog:http://brijbhushan.wordpress.com
          Check my latest Article :ViewState - Various ways to reduce performance overhead

          1 Reply Last reply
          0
          • B Brij

            For this you can use ASP.NET memebership. It will do everything for you including db etc. You just need to run aspnet_regsql command to create your database. For details have a look to the following links Link 1 Link 2 Let me know if you have any other requirement.

            Cheers!! Brij My Blog:http://brijbhushan.wordpress.com
            Check my latest Article :ViewState - Various ways to reduce performance overhead

            modified on Tuesday, September 7, 2010 3:31 AM

            I Offline
            I Offline
            iamdking
            wrote on last edited by
            #5

            Thanks brij for the quick reply.. I think this article elaborates Role base authorization. I want to develop User based authorization where every user will have different access rights. for eg. suppose I have a form testform.aspx . Now some users can read, some can modify, some can delete like this. Any suggestion for this ?

            Amit

            N 1 Reply Last reply
            0
            • I iamdking

              Thanks brij for the quick reply.. I think this article elaborates Role base authorization. I want to develop User based authorization where every user will have different access rights. for eg. suppose I have a form testform.aspx . Now some users can read, some can modify, some can delete like this. Any suggestion for this ?

              Amit

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              iamdking wrote:

              Any suggestion for this ?

              Just what you have been told, ASP.NET membership and roles


              I know the language. I've read a book. - _Madmatt

              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