473,778 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

encrpyt salary data

ljb
Anyone have a good idea for encrypting salary data in US $? I have an Access
database with some salary info connected to ASP on our intranet. My manager
is somewhat apprehensive about the level of security currently provided. I'm
using basic authentication (I think that's what it is called). It relies on
NT directory permissions and code to query "AUTH_USER" . Does anyone have a
simple encryption idea that can take US$, 5 digit employee ID, encrypt it
and store it in Access' Currency data type? The database will store the
salary encrypted. When an authorized user hits the ASP it will display
decrypted values. All data maintenance is done with various ASP which must
be able to do the encryption/decryption by vbscript.

thanks
LJB
Jul 19 '05
19 2252
ljb
The majority here are Civil Engineers as are all the managers. They are
quite confident in whatever they do. In their opinion end user development
is just fine. They also believe IS projects are always late, over budget and
short on promised functionality.

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:uw******** ******@TK2MSFTN GP12.phx.gbl...
then send them back to their desk with instructions
to procreate.


Geez, we can get fired around here for that. :-)

Jul 19 '05 #11
ljb
I picked the RC4 algorithm. Do you know if the encrypted string generated by
RC4 can be stored in an Access string type field? Not all characters in the
encrypted string are printable. Do Select and Insert handle these properly?

thanks
LJB
Jul 19 '05 #12
I think we have a different perception of the term "procreate" :-)
"ljb" <.> wrote in message news:uD******** ******@TK2MSFTN GP11.phx.gbl...
The majority here are Civil Engineers as are all the managers. They are
quite confident in whatever they do. In their opinion end user development
is just fine. They also believe IS projects are always late, over budget and short on promised functionality.

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:uw******** ******@TK2MSFTN GP12.phx.gbl...
then send them back to their desk with instructions
to procreate.


Geez, we can get fired around here for that. :-)


Jul 19 '05 #13
> I picked the RC4 algorithm. Do you know if the encrypted string generated
by
RC4 can be stored in an Access string type field? Not all characters in the encrypted string are printable. Do Select and Insert handle these

properly?

Well, you could always try it.
Jul 19 '05 #14
"ljb" <.> wrote in message news:%2******** **********@TK2M SFTNGP09.phx.gb l...
I picked the RC4 algorithm. Do you know if the encrypted string generated by RC4 can be stored in an Access string type field? Not all characters in the encrypted string are printable. Do Select and Insert handle these properly?
thanks
LJB


You shouldn't have a problem storing it in a field of type 'text' providing
the ciphertext doesn't exceed 255 characters.
The only character you will have problems with is the apostrophe. Here's
some info:
http://www.aspfaq.com/show.asp?id=2035

chopper
Jul 19 '05 #15
On Mon, 17 Nov 2003 10:26:15 -0600, "ljb" <.> wrote:
The majority here are Civil Engineers as are all the managers.
Around here we'd prefer that neither engineers nor managers be allowed
to procreate... :)
"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:uw******* *******@TK2MSFT NGP12.phx.gbl.. .
> then send them back to their desk with instructions
> to procreate.


Geez, we can get fired around here for that. :-)


Jul 19 '05 #16
Here's what I did with that particular problem at a gov't site with
international users. (This may sound complex, but it really isn't, and
worked out very nicely. It also got us blessed in a stringent security
review.)

Let me note that the problem in encryption is the problem of key management.
Therefore, I built the solution around the use of public key crypto.

1. In this approach, the user's password is the private key. We don't
store that, but rather its hash, for login authentication.
2. At login, that private key is carried in a form field to the script
doing the lookup, decrypt, and display.
3. The public key, calculated from the password/private key, is used by the
data load script for encryption. It's perfectly secure to retain this
public key in the database, since the private key, the user's password,
can't be derived from it.

What's stored in the database? Only the public key, which is universally
considered safe for publication, and an MD5 hash of the public key, also
safe. Secondly, the salary info is secure from what's widely known to be
the bigtime risk, the insider. And thirdly, even if one password is broken,
all the others remain secure.

I used a very nice COM product for this: see it at www.dyncrypto.com Quite
inexpensive, good sample scripts, and easy to use.

AS


Jul 19 '05 #17
Correction: That " ...MD5 hash of the public key ... " should be "MD5 hash
of the PRIVATE key", the user's password.

AS
Jul 19 '05 #18
Send Me an email and I pass a function onto you, .
su*****@assoft. com.au

"ljb" <.> wrote in message news:ur******** *****@TK2MSFTNG P12.phx.gbl...
Anyone have a good idea for encrypting salary data in US $? I have an Access database with some salary info connected to ASP on our intranet. My manager is somewhat apprehensive about the level of security currently provided. I'm using basic authentication (I think that's what it is called). It relies on NT directory permissions and code to query "AUTH_USER" . Does anyone have a
simple encryption idea that can take US$, 5 digit employee ID, encrypt it
and store it in Access' Currency data type? The database will store the
salary encrypted. When an authorized user hits the ASP it will display
decrypted values. All data maintenance is done with various ASP which must
be able to do the encryption/decryption by vbscript.

thanks
LJB

Jul 19 '05 #19
ljb
Thanks, but I have already found and implemented something based on RC4
encryption. The function I used came from
http://www.Planet-Source-Code.com/vb...=6646&lngWId=4

"Don Grover" <sp******@assof t.com.au> wrote in message
news:Or******** ******@TK2MSFTN GP09.phx.gbl...
Send Me an email and I pass a function onto you, .
su*****@assoft. com.au

Jul 19 '05 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
3685
by: Troll | last post by:
Hi, I need to write a script which reads some data and reports the findings. Just to give you an idea the structure is similar to the following. Data input example: HEADING 1 ********** ColumnA ColumnB ColumnC ColumnD ColumnE
1
11543
by: sallyk57 | last post by:
Help with following Programs: Write two programs one where the performance rating here shoud be entered as a int where Excellent =1, Good= 2, Poor=3. an employee who is rated excellent will receive a 6% raise, one rated good will receive a 4% raise, and one rated poor will receive a 1.5% raise. Add the if... else... statements to program Salary to make it run as described above. //...
3
2323
kiss07
by: kiss07 | last post by:
Hi friends, I explain detail I have two table emp and dept, Emp table three columns(name,salary,age) and Dept have two columns( name ,and salary). In first table Emp have data's in all columns, and Dept(table) have data's only in name,not in salary column.Now i fill the salary column in Dept table from Emp table Salary column wise.
5
8569
by: james121285 | last post by:
This is to calculate an employees tax and pension. The salary is input from the keyboard. The NI contribution is calculated as 6% of the gross salary. The pension contribution is calculated as 2% of the gross salary. The income tax is computed progressively after detracting NI and pension contributions. The taxable amount (after detractions) is divided into bands, each taxed at a different rate as follows: Gross yearly income: Tax rate:...
6
2277
by: zfareed | last post by:
Is it possible to print an array that is declared from a class type that also contains private data members? I have declared an array in the main function and then set the values for the array thru member functions. Now I need to print the array from main but the error states that those elements are private. Here is some of my code: class Employee { private:
1
6134
by: sheenaa | last post by:
Hello Members, I m creating my application forms in ASP.Net 2005 C# using the backend SQL Server 2005. What i have used on forms :: ? On my first form i have used some label,textboxs,dropdownlists,radiobutton and checkbox asp standard controls. On the click event of the command button the data gets stored into the database. I have created the stored procedures for the insert,update,delete. I have...
5
1463
by: mobaligh | last post by:
I have two tables, tblEmployees and tblEmployeepayment. tblEmployees has the following fields the data to this table comes from our payroll system EmployeeID Name Paygroup Employeestatus Annualsalary tlbEmployeepayment has the following fields which will be entered by the user.
3
7347
KevinADC
by: KevinADC | last post by:
If you are entirely unfamiliar with using Perl to sort data, read the "Sorting Data with Perl - Part One and Two" articles before reading this article. Beginning Perl coders may find this article uses unfamiliar terms and syntax. Intermediate and advanced Perl coders should find this article useful. The object of the article is to inform the reader, it is not about how to code Perl or how to write good Perl code, but to teach the Schwartzian...
0
1245
by: blehhhhh | last post by:
hi guys, So i have this java assignment where I have to create an employee class with given datatypes and have accessor methods in it. Along with that i have to create a text file(data file) with each employee's data on a single line for every detail. then in the main method, I have to create the 2 employee objects and then read all the employee data from the data file to the respective employee objects that's already created. Next i have to...
0
9629
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9470
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10127
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9923
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8957
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7475
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6723
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5500
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2865
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.