Click here to Skip to main content
15,887,381 members
Home / Discussions / C#
   

C#

 
GeneralOn calling a function written in c from a dotnet c# application Pin
Member 475670920-Apr-08 19:28
Member 475670920-Apr-08 19:28 
GeneralRe: On calling a function written in c from a dotnet c# application Pin
Christian Graus20-Apr-08 19:54
protectorChristian Graus20-Apr-08 19:54 
GeneralRe: On calling a function written in c from a dotnet c# application Pin
Member 475670920-Apr-08 20:54
Member 475670920-Apr-08 20:54 
GeneralUser permissions to a DCOM object Pin
random420-Apr-08 19:15
random420-Apr-08 19:15 
GeneralRe: User permissions to a DCOM object Pin
Nouman Bhatti20-Apr-08 19:58
Nouman Bhatti20-Apr-08 19:58 
GeneralRe: User permissions to a DCOM object Pin
random421-Apr-08 18:33
random421-Apr-08 18:33 
GeneralLogin Winform Pin
ferspr20-Apr-08 17:34
ferspr20-Apr-08 17:34 
GeneralRe: Login Winform Pin
I.explore.code20-Apr-08 18:44
I.explore.code20-Apr-08 18:44 
User Management can be done in two ways: using LDAP (Lightweight Directory Access Protocol), will allow only thos users to log on to the application who are a part of that windows domain. This approach might be a little cumbersome as many applications do not require such tight coupling with windows domain for allowing or denying access to users, moreover, it is certainly a tedious task to use LDAP to manage access to individual forms. The other way out, is your way, creating a table for users and storing their passwords in encrypted form, now here, I suggest to create an admin table as well that will reference to the user table on the basis of unique user id, and since you plan to grant or revoke permission on users, yourself, you can also create an admin screen in your app, wherein you can enlist all users and their information and you can grant/revoke permissions there and these details will be updated in the admin table. For the encryption part of it, u can write a simple substitution cipher program that will shift the bits to either one left or one right to give you an encrypted string, or, u can use the Encryption class of the .NET F/W, I personally prefer to write my own program for encryption, as it is great fun to experiment with n-number of ways of encrypting data. Let me know if i was able to give u some headway...

cheers
GeneralRe: Login Winform Pin
ferspr20-Apr-08 19:27
ferspr20-Apr-08 19:27 
GeneralRe: Login Winform Pin
Nouman Bhatti20-Apr-08 20:04
Nouman Bhatti20-Apr-08 20:04 
GeneralProblem sending a public key encrypted string over a socket Pin
anth12320-Apr-08 13:04
anth12320-Apr-08 13:04 
GeneralChanging propertie on other form. Pin
RitchieRich20-Apr-08 12:05
RitchieRich20-Apr-08 12:05 
GeneralRe: Changing propertie on other form. Pin
Christian Graus20-Apr-08 12:11
protectorChristian Graus20-Apr-08 12:11 
GeneralRe: Changing propertie on other form. Pin
cocoonwls20-Apr-08 20:21
cocoonwls20-Apr-08 20:21 
GeneralRe: Changing propertie on other form. [modified] Pin
RitchieRich20-Apr-08 23:48
RitchieRich20-Apr-08 23:48 
GeneralRe: Changing propertie on other form. Pin
cocoonwls22-Apr-08 18:32
cocoonwls22-Apr-08 18:32 
GeneralRender Vista Style ComboBox Pin
Lea Hayes20-Apr-08 10:03
Lea Hayes20-Apr-08 10:03 
GeneralRe: Render Vista Style ComboBox Pin
badtoto24-Dec-08 18:40
badtoto24-Dec-08 18:40 
GeneralRe: Render Vista Style ComboBox Pin
Lea Hayes26-Dec-08 8:16
Lea Hayes26-Dec-08 8:16 
Generalinsert images in rtf file Pin
panoskatws20-Apr-08 7:30
panoskatws20-Apr-08 7:30 
GeneralRe: insert images in rtf file Pin
mav.northwind20-Apr-08 7:44
mav.northwind20-Apr-08 7:44 
GeneralLoading an Icon Resource [modified] Pin
#realJSOP20-Apr-08 4:35
mve#realJSOP20-Apr-08 4:35 
GeneralRe: Loading an Icon Resource Pin
Scott Dorman20-Apr-08 4:50
professionalScott Dorman20-Apr-08 4:50 
GeneralRe: Loading an Icon Resource Pin
#realJSOP20-Apr-08 5:07
mve#realJSOP20-Apr-08 5:07 
GeneralRe: Loading an Icon Resource Pin
Scott Dorman20-Apr-08 5:14
professionalScott Dorman20-Apr-08 5:14 

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.