How to implement Role Enabled Security in Visual Basic 2005 ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Luqman

    #1

    How to implement Role Enabled Security in Visual Basic 2005 ?

    How to implement Role Enabled Security in Visual Basic 2005 Windows
    Application, like we do in ASP.Net 2.0 ?

    I want to use Sql Server Membership Security for Adding Roles and Users.

    Can I use system.web.secu rity in Windows Application for this purpose ?

    Best Regards,

    Luqman




  • sloan

    #2
    Re: How to implement Role Enabled Security in Visual Basic 2005 ?


    Yes.

    I actually wrote a small utility in winforms.

    The utility lets you load up a few txt files, and adds

    Users
    Roles
    User_To_Roles

    based on the info in the text files.

    It helps with a new deployment, where I have new users, and need a bulk way
    to add them.

    It adds the info to the db I specify in the winforms app.config file (which
    is just a copy of what the web.config file has).




    "Luqman" <pearlsoft@cybe r.net.pkwrote in message
    news:uGSQaI4lHH A.4592@TK2MSFTN GP05.phx.gbl...
    How to implement Role Enabled Security in Visual Basic 2005 Windows
    Application, like we do in ASP.Net 2.0 ?
    >
    I want to use Sql Server Membership Security for Adding Roles and Users.
    >
    Can I use system.web.secu rity in Windows Application for this purpose ?
    >
    Best Regards,
    >
    Luqman
    >
    >
    >
    >

    Comment

    • luqman

      #3
      Re: How to implement Role Enabled Security in Visual Basic 2005 ?

      Hi,

      How and where can I get such utility ?

      Best Regards,

      Luqman

      "sloan" <sloan@ipass.ne twrote in message
      news:uaU8Y5KmHH A.3736@TK2MSFTN GP03.phx.gbl...
      >
      Yes.
      >
      I actually wrote a small utility in winforms.
      >
      The utility lets you load up a few txt files, and adds
      >
      Users
      Roles
      User_To_Roles
      >
      based on the info in the text files.
      >
      It helps with a new deployment, where I have new users, and need a bulk
      way
      to add them.
      >
      It adds the info to the db I specify in the winforms app.config file
      (which
      is just a copy of what the web.config file has).
      >
      >
      >
      >
      "Luqman" <pearlsoft@cybe r.net.pkwrote in message
      news:uGSQaI4lHH A.4592@TK2MSFTN GP05.phx.gbl...
      How to implement Role Enabled Security in Visual Basic 2005 Windows
      Application, like we do in ASP.Net 2.0 ?

      I want to use Sql Server Membership Security for Adding Roles and Users.

      Can I use system.web.secu rity in Windows Application for this purpose ?

      Best Regards,

      Luqman


      >
      >

      Comment

      • sloan

        #4
        Re: How to implement Role Enabled Security in Visual Basic 2005 ?

        <from my post>
        //I actually wrote//

        As in, you have to write one.





        "luqman" <pearlsoft@cybe r.net.pkwrote in message
        news:ujv8e4UmHH A.3588@TK2MSFTN GP02.phx.gbl...
        Hi,
        >
        How and where can I get such utility ?
        >
        Best Regards,
        >
        Luqman
        >
        "sloan" <sloan@ipass.ne twrote in message
        news:uaU8Y5KmHH A.3736@TK2MSFTN GP03.phx.gbl...

        Yes.

        I actually wrote a small utility in winforms.

        The utility lets you load up a few txt files, and adds

        Users
        Roles
        User_To_Roles

        based on the info in the text files.

        It helps with a new deployment, where I have new users, and need a bulk
        way
        to add them.

        It adds the info to the db I specify in the winforms app.config file
        (which
        is just a copy of what the web.config file has).




        "Luqman" <pearlsoft@cybe r.net.pkwrote in message
        news:uGSQaI4lHH A.4592@TK2MSFTN GP05.phx.gbl...
        How to implement Role Enabled Security in Visual Basic 2005 Windows
        Application, like we do in ASP.Net 2.0 ?
        >
        I want to use Sql Server Membership Security for Adding Roles and
        Users.
        >
        Can I use system.web.secu rity in Windows Application for this purpose
        ?
        >
        Best Regards,
        >
        Luqman
        >
        >
        >
        >
        >
        >

        Comment

        Working...