473,320 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.security in Windows Application for this purpose ?

Best Regards,

Luqman


May 16 '07 #1
3 1483

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" <pe*******@cyber.net.pkwrote in message
news:uG**************@TK2MSFTNGP05.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.security in Windows Application for this purpose ?

Best Regards,

Luqman


May 17 '07 #2
Hi,

How and where can I get such utility ?

Best Regards,

Luqman

"sloan" <sl***@ipass.netwrote in message
news:ua**************@TK2MSFTNGP03.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" <pe*******@cyber.net.pkwrote in message
news:uG**************@TK2MSFTNGP05.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.security in Windows Application for this purpose ?

Best Regards,

Luqman




May 18 '07 #3
<from my post>
//I actually wrote//

As in, you have to write one.

"luqman" <pe*******@cyber.net.pkwrote in message
news:uj**************@TK2MSFTNGP02.phx.gbl...
Hi,

How and where can I get such utility ?

Best Regards,

Luqman

"sloan" <sl***@ipass.netwrote in message
news:ua**************@TK2MSFTNGP03.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" <pe*******@cyber.net.pkwrote in message
news:uG**************@TK2MSFTNGP05.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.security in Windows Application for this purpose
?
>
Best Regards,
>
Luqman
>
>
>
>


May 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Thom Little | last post by:
I seem to (once again) be missing something pretty basic. I am running under Windows XP Professional Service Pack 1 with all Hotfixes installed and Visual Studio .NET 2003 in Debug mode. The...
2
by: Boris Condarco | last post by:
Hi gurus, I was reading some documentation about security in .NET Framework, it mention that it is possible to make custom Role Based security for example: check the authentication with Windows...
1
by: Philipp Lenz | last post by:
I'm completely new to ASP.Net 2.0 and I'm baffled about what to do to get this to work. FYI, I'm not new at this, I've used asp.net 1.1 for allmost 4 years now. I'm running a development...
0
by: John | last post by:
Hi This is my first time doing this. I have a typical sql server and vs2005/sql express 2005 installation on C: drive. I have attached the web config file that I am using. I have the...
9
by: Mike Hofer | last post by:
BACKGROUND: We've designed a Website for a client that will be deployed across multiple physical locations. The site will be hosted from a corporate NOC, and administered by the IT group there. ...
4
by: sqlguy | last post by:
Why do we have to contact MS for a problem that has been with this compiler from at least the beta of VS 20005. I am so sick and tired of the 30 - 40 clicks it takes to dismiss VS when there is a...
2
by: Annie | last post by:
Hello guys, I have set the MEMBERSHIP, ROLEMANAGER and PROFILE in my config file as below. I just want to use my own sql server 2000 table instead of MSDB.
13
by: parez | last post by:
Whats the best way of implementing authorization in a win forms application. I mean things like show/hide or enable/disable Save button ,creating context menus etc.
2
by: Khafancoder | last post by:
Hi , i'm developing a permission-based win application there is one Permission for each possible Action in db & each Role has some Permissions and a custom authentication system is implemented...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.