Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

windows db appliation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
t - 02 Dec 2004 00:17 GMT
I am working on developing window application using vb.net, application is ms-sql data driven, I have different windows groups will have to access / permission to different menus and icons from tool bar.
any suggestion on good practices / sample application used as reference about securities and setting .

Thanks

Tim
Harshad Rathod - 02 Dec 2004 17:29 GMT
To start with, use Datawindow.Net component available from Sybase.  Its a
great tool.  It will cut down your development time and coding considerably.  
Its a proven techonology.  Adding dropdown boxes etc are codeless.  You can
also resue your data components.  Printing, graphs, sorting and reporting
including composite reports with the same component is built in.
Join http://www.sybase.com/detail/1,6904,1031119,00.html.

As for Menu access:  
1) Make it Database driven.  Have a menu structure and security entities on
the database.  
2) Create a Menu component that you can populate from database.
3) OnLoad or relavant method of a Form, check the privilege for user/form
combination in the database and set your options accordingly.  For example,
user 't' may ahve query privilege on 'CustormeForm' but not update.  Then let
't' open the form and view data but disable 'Update' or 'Save' options.  
Also, if you are using Datawindow.Net, you will be able to ignore the changes
with one line of code 'updatepending=0' in one of its events.

Hope this helps.
Harshad

> I am working on developing window application using vb.net, application is ms-sql data driven, I have different windows groups will have to access / permission to different menus and icons from tool bar.
> any suggestion on good practices / sample application used as reference about securities and setting .
>
> Thanks
>
> Tim

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.