User based security
-
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
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 overheadmodified on Tuesday, September 7, 2010 3:31 AM
-
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 overheadmodified on Tuesday, September 7, 2010 3:31 AM
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 runaspnet_regsql
command ! I guess that was your Typo !! :)Cheers ! Abhijit Jana | MVP Visit My Blog Abhijit's World of .NET | Follow Me @ twitter | Disclaimer
-
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 runaspnet_regsql
command ! I guess that was your Typo !! :)Cheers ! Abhijit Jana | MVP Visit My Blog Abhijit's World of .NET | Follow Me @ twitter | Disclaimer
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 -
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 overheadmodified on Tuesday, September 7, 2010 3:31 AM
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
-
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
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