Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Application security


Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2004, 12:09 PM
ShrimperDan ShrimperDan is offline
Regular
 
Join Date: Apr 2004
Posts: 65
Default Application security


I'm trying to solve for a real scenario.
The purpose is to increase application and data security.

What I have is several vb applications that connect to different SQL Server databases within the same company. Currently, security is just based on the WinXP (WInNT) ID. SO if you can log in, then you can run the applications.

My suggestion is the addition of login screens to each application which then provides a second layer of security.

Here is the problem...if I use the user's WinNT ID to validate during the connection to the SQL server, then if someone gains access to that person's machine, then they can make a DB connection via ODBC connection to see the database data.

The other option is to create a application specific SQL Server ID/PW that only the DBA and I, the developer, know to use to make the database connection and then the login screen takes care of user-level access. However, to conform to security standards, that password would need to change every 30 days. I can't re-create a new VB app every 30 days. And I loose SQL Server's ability to track inserts/deletes of each user.

Any idea of a possible solution that provides a secure login method without the exposure that WinNT ID access provides?
__________________
When a nice clean brain tumbles into the dirty street to lay among the discarded wrappers and spat-out gum wads of wickedness, you can't just pick it up and wash it off with soap and water; you have to think it clean from the inside out!
Reply With Quote
  #2  
Old 04-27-2004, 12:21 PM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

From Microsoft:

"The process of collecting credentials from a user-mode application can provide a possible security hole in a network computing environment (as well as being annoying to a user). The Unified Logon requirement (which specifies that the user should only have to type his or her credentials once, at the logon screen), was added to the Microsoft BackOffice logo requirements for these reasons."
Reply With Quote
  #3  
Old 04-27-2004, 01:25 PM
ShrimperDan ShrimperDan is offline
Regular
 
Join Date: Apr 2004
Posts: 65
Default

THe problem with UL, from a security standpoint, is if a user gains access to the pc, they have therefore gained access to the data the applications contain.
__________________
When a nice clean brain tumbles into the dirty street to lay among the discarded wrappers and spat-out gum wads of wickedness, you can't just pick it up and wash it off with soap and water; you have to think it clean from the inside out!
Reply With Quote
  #4  
Old 04-27-2004, 01:28 PM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

How are they going to gain access to the PC?
Reply With Quote
  #5  
Old 04-27-2004, 01:34 PM
ShrimperDan ShrimperDan is offline
Regular
 
Join Date: Apr 2004
Posts: 65
Default

Because people are not perfect. Because people on this group write down passwords on scrap paper. Because people don't lock their pc. All users in the group should not have access to all applications that team mates can access.
__________________
When a nice clean brain tumbles into the dirty street to lay among the discarded wrappers and spat-out gum wads of wickedness, you can't just pick it up and wash it off with soap and water; you have to think it clean from the inside out!
Reply With Quote
  #6  
Old 04-27-2004, 02:05 PM
lebb's Avatar
lebb lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Default

I guess I don't see how additional login screens would address any of this. In fact, the more different logins you require the user to maintain, the more likely he is to write down his passwords. I can definitely relate to the problem, but I don't understand how this could address it.
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EXE keeps running in the task manager even after exiting the application vikjain General 2 06-26-2003 08:07 PM
Help regarding accessing an application on a remote server. FacJoe Communications 3 06-26-2003 01:07 PM
Database connection from application to server. wyrd Database and Reporting 9 09-16-2002 03:58 PM
Security on intranet? Sylvain Web Programming 0 03-20-2002 08:04 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->