Click here to Skip to main content
15,886,063 members
Home / Discussions / C#
   

C#

 
GeneralRe: Non-dynamic Image Recognition. Pin
Joorstard24-Apr-09 6:59
Joorstard24-Apr-09 6:59 
AnswerRe: Non-dynamic Image Recognition. Pin
Skymir17-Apr-09 10:46
Skymir17-Apr-09 10:46 
Questionhow to generate phone ring sound Pin
yogesh_softworld12317-Apr-09 6:14
yogesh_softworld12317-Apr-09 6:14 
AnswerRe: how to generate phone ring sound Pin
DaveyM6917-Apr-09 6:19
professionalDaveyM6917-Apr-09 6:19 
GeneralRe: how to generate phone ring sound Pin
yogesh_softworld12317-Apr-09 7:06
yogesh_softworld12317-Apr-09 7:06 
GeneralRe: how to generate phone ring sound Pin
Henry Minute17-Apr-09 8:24
Henry Minute17-Apr-09 8:24 
GeneralRe: how to generate phone ring sound Pin
DaveyM6917-Apr-09 11:59
professionalDaveyM6917-Apr-09 11:59 
QuestionHow to implement User-Level security in app ? Pin
hdv21217-Apr-09 5:12
hdv21217-Apr-09 5:12 
Hi i'm looking for any example or article about how to implement user-level security for mu application.
my app scenario is :
1. My app have some forms
2. Users & Roles can define in app
3. Each user must have a role
4. Each role must have it's security level (admin can select a role and give a appropriate right on selected objects(forms) to that role)
How to implement this ?

A Good Idea : if u familiar with SharePoint, u saw, even users can assign a permission just for an specific Item! but don't know how to that.

after a lot of search, i define some tables which represent in this image :
http://i44.tinypic.com/142v439.jpg

as u can see in that image, my tables are these :
Users : to define user
Roles : to define role
UserRoles : store relationship between Users and Roles (which user member of which role)
Rights : to define right (like Select,Insert,Update,Delete,Report, ...)
Objects : to hold all objects(can be include database objects or application objects) which must be assign security level to
Permissons : to hold which role on which object have which right.

and now, i want to display this form and table to user :
http://i42.tinypic.com/v75gzb.jpg

in the form, admin can select a role from comboBox and set appropriate permission to an specific object,
but i don't know how to query tables to display this table, and how to manage this data.
i think the database design is correct but getting query is main problem, i want to manage security levels like second image.

any help would be great appreciated.
AnswerRe: How to implement User-Level security in app ? Pin
dan!sh 17-Apr-09 5:36
professional dan!sh 17-Apr-09 5:36 
GeneralRe: How to implement User-Level security in app ? Pin
hdv21217-Apr-09 6:07
hdv21217-Apr-09 6:07 
GeneralRe: How to implement User-Level security in app ? Pin
buachaill cliste17-Apr-09 8:44
buachaill cliste17-Apr-09 8:44 
GeneralRe: How to implement User-Level security in app ? Pin
hdv21217-Apr-09 9:43
hdv21217-Apr-09 9:43 
GeneralRe: How to implement User-Level security in app ? Pin
buachaill cliste17-Apr-09 9:55
buachaill cliste17-Apr-09 9:55 
GeneralRe: How to implement User-Level security in app ? Pin
hdv21217-Apr-09 10:00
hdv21217-Apr-09 10:00 
Questionhow to attach tab key with arrow keys in C# Pin
atul gupta17-Apr-09 5:10
atul gupta17-Apr-09 5:10 
AnswerRe: how to attach tab key with arrow keys in C# Pin
dan!sh 17-Apr-09 5:18
professional dan!sh 17-Apr-09 5:18 
QuestionA Paint like application Pin
jaypatel51217-Apr-09 4:37
jaypatel51217-Apr-09 4:37 
AnswerRe: A Paint like application Pin
Rob Philpott17-Apr-09 4:52
Rob Philpott17-Apr-09 4:52 
GeneralRe: A Paint like application (MODIFIED) Pin
jaypatel51217-Apr-09 4:58
jaypatel51217-Apr-09 4:58 
GeneralRe: A Paint like application (MODIFIED) Pin
dan!sh 17-Apr-09 5:23
professional dan!sh 17-Apr-09 5:23 
GeneralRe: A Paint like application (MODIFIED) Pin
jaypatel51217-Apr-09 20:48
jaypatel51217-Apr-09 20:48 
GeneralRe: A Paint like application (MODIFIED) Pin
Rob Philpott17-Apr-09 5:23
Rob Philpott17-Apr-09 5:23 
GeneralRe: A Paint like application (MODIFIED) Pin
Henry Minute17-Apr-09 8:32
Henry Minute17-Apr-09 8:32 
GeneralRe: A Paint like application (MODIFIED) Pin
jaypatel51217-Apr-09 21:01
jaypatel51217-Apr-09 21:01 
Questionhow to add items in a list box from database Pin
kaushik_dass17-Apr-09 3:57
kaushik_dass17-Apr-09 3:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.