Click here to Skip to main content
15,922,574 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionsending and receiving file over TCP/IP (c#) ?(*jpg,etc..)no text..file.. Pin
tdrgn20-Jul-08 23:34
tdrgn20-Jul-08 23:34 
AnswerRe: sending and receiving file over TCP/IP (c#) ?(*jpg,etc..)no text..file.. Pin
Paul Conrad21-Jul-08 8:51
professionalPaul Conrad21-Jul-08 8:51 
GeneralRe: sending and receiving file over TCP/IP (c#) ?(*jpg,etc..)no text..file.. Pin
tdrgn22-Jul-08 2:19
tdrgn22-Jul-08 2:19 
QuestionSet focus on Datagrid view cell Pin
venkat86_ece20-Jul-08 22:14
venkat86_ece20-Jul-08 22:14 
AnswerRe: Set focus on Datagrid view cell Pin
John Ad21-Jul-08 4:24
John Ad21-Jul-08 4:24 
QuestionAccess Control List Pin
Michael Adel20-Jul-08 21:22
Michael Adel20-Jul-08 21:22 
QuestionAccess control Pin
RyanEK20-Jul-08 16:00
RyanEK20-Jul-08 16:00 
AnswerRe: Access control Pin
Mycroft Holmes20-Jul-08 20:22
professionalMycroft Holmes20-Jul-08 20:22 
I'll be interested in the results of this enquiry, heres my solution.
2 apps required 1 is user manager, 2nd is the client app.

User manager do store and manages the users and groups for each app (we have about 9 apps managed by this system)
Each app has a set of roles (public being the default), servers (we allow the user to select a target server) and objects (forms, buttons, panels/areas etc). Objects are requested by the user and defined by the developer.
Each object has and AEDX flag (add/edit/delete/execute) so a role can see the object (default) but the actions are managed.
User manager generates and enum to used in the development code
Each client app has a security function (using the object name) and death and mayhem to any junior dev who changes a controlled object.
Security function is applied to each object, yes hard coded, the user wants to control.
The business can then control the access to the object they have defined.

While I have built and used this method for over 10 years on ## apps, not once have I had to implement a tightly controlled environment. At most they want to restrict access to a number of forms or possible limit the group who can edit some data.

Shoulda done an articleLaugh | :laugh:


Never underestimate the power of human stupidity
RAH

GeneralRe: Access control Pin
RyanEK21-Jul-08 12:44
RyanEK21-Jul-08 12:44 
GeneralRe: Access control Pin
Mycroft Holmes21-Jul-08 14:16
professionalMycroft Holmes21-Jul-08 14:16 
GeneralRe: Access control Pin
RyanEK21-Jul-08 16:14
RyanEK21-Jul-08 16:14 
GeneralRe: Access control Pin
Mycroft Holmes21-Jul-08 17:32
professionalMycroft Holmes21-Jul-08 17:32 
GeneralRe: Access control Pin
RyanEK21-Jul-08 17:59
RyanEK21-Jul-08 17:59 
GeneralRe: Access control Pin
darkelv21-Jul-08 23:26
darkelv21-Jul-08 23:26 
AnswerRe: Access control Pin
darkelv20-Jul-08 23:37
darkelv20-Jul-08 23:37 
GeneralRe: Access control Pin
RyanEK21-Jul-08 12:46
RyanEK21-Jul-08 12:46 
QuestionCrystal report preview is working but when running form its not working Pin
amistry_petlad19-Jul-08 19:27
amistry_petlad19-Jul-08 19:27 
QuestionExcel Workbook Creation Pin
Bagyaraj Palani17-Jul-08 21:30
Bagyaraj Palani17-Jul-08 21:30 
Questionvery large data app Pin
bfis10813717-Jul-08 9:33
bfis10813717-Jul-08 9:33 
AnswerRe: very large data app Pin
Paul Conrad17-Jul-08 16:49
professionalPaul Conrad17-Jul-08 16:49 
GeneralRe: very large data app Pin
bfis10813717-Jul-08 19:14
bfis10813717-Jul-08 19:14 
GeneralRe: very large data app Pin
Paul Conrad18-Jul-08 2:57
professionalPaul Conrad18-Jul-08 2:57 
AnswerRe: very large data app Pin
darkelv17-Jul-08 17:28
darkelv17-Jul-08 17:28 
GeneralRe: very large data app Pin
led mike17-Jul-08 19:23
led mike17-Jul-08 19:23 
GeneralRe: very large data app Pin
darkelv17-Jul-08 19:25
darkelv17-Jul-08 19:25 

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.