Click here to Skip to main content
15,924,196 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Malloc & Page File Pin
Luc Pattyn12-Jul-07 7:27
sitebuilderLuc Pattyn12-Jul-07 7:27 
GeneralRe: Malloc & Page File Pin
Emmanouil12-Jul-07 7:58
Emmanouil12-Jul-07 7:58 
QuestionYour help is greatly appreciated Pin
columbiasmiles9-Jul-07 7:30
columbiasmiles9-Jul-07 7:30 
Questionadding elements in alphabetical order to a hashtable that deals with collisions using java Pin
claudinawales8-Jul-07 23:28
claudinawales8-Jul-07 23:28 
AnswerRe: adding elements in alphabetical order to a hashtable that deals with collisions using java Pin
Luc Pattyn9-Jul-07 10:56
sitebuilderLuc Pattyn9-Jul-07 10:56 
QuestionEncrypting data in a database Pin
jlebensold5-Jul-07 20:37
jlebensold5-Jul-07 20:37 
AnswerRe: Encrypting data in a database Pin
Paul Conrad4-Nov-07 7:08
professionalPaul Conrad4-Nov-07 7:08 
GeneralRe: Encrypting data in a database Pin
jlebensold5-Nov-07 20:02
jlebensold5-Nov-07 20:02 
Well, the project is on hold but here's what I've come up with so far:

You store a plaintext string (i.e. "helloworld" in the web.config)

You then setup IIS so that the application doesn't recycle memory.

You store a general decryption key in AppState of the application (essentially keeping the key only in memory)

You use the decryption key to take your plaintext string and encrypt it (so "helloworld" becomes whatever it would be with your AES encrypted string turns it into, with or without a salt) and then you take THAT and place it into the web.config. This way, the actual key isn't stored on the server, the config files or in the database.

I do know, however that microsoft has a tool for encrypting parts of your web.config, but I haven't looked into it (and only discovered it after the architecture I had just proposed.)

When the application first loads, it checks to see if the key in AppState can encrypt "helloworld" to match the encrypted string in the web.config.

In terms of assigning permissions to different users, you could use this same key to encrypt all the strings in the database, including a 1-many mapping of passwords to users with permission to see them.

let me know if you come up with anything better!
QuestionObscenely amount of data Pin
minimice5-Jul-07 20:24
minimice5-Jul-07 20:24 
AnswerRe: Obscenely amount of data Pin
originSH5-Jul-07 22:23
originSH5-Jul-07 22:23 
AnswerRe: Obscenely amount of data Pin
Brady Kelly5-Jul-07 22:26
Brady Kelly5-Jul-07 22:26 
GeneralRe: Obscenely amount of data Pin
minimice5-Jul-07 23:20
minimice5-Jul-07 23:20 
GeneralRe: Obscenely amount of data Pin
Brady Kelly8-Jul-07 23:28
Brady Kelly8-Jul-07 23:28 
AnswerRe: Obscenely amount of data Pin
Luc Pattyn12-Jul-07 2:37
sitebuilderLuc Pattyn12-Jul-07 2:37 
QuestionCheck if app exists and open from internet Pin
Dimkov3-Jul-07 22:51
Dimkov3-Jul-07 22:51 
AnswerRe: Check if app exists and open from internet Pin
Pete O'Hanlon3-Jul-07 23:44
mvePete O'Hanlon3-Jul-07 23:44 
GeneralRe: Check if app exists and open from internet Pin
Dimkov4-Jul-07 0:08
Dimkov4-Jul-07 0:08 
GeneralRe: Check if app exists and open from internet Pin
Pete O'Hanlon4-Jul-07 0:12
mvePete O'Hanlon4-Jul-07 0:12 
GeneralRe: Check if app exists and open from internet Pin
Dimkov4-Jul-07 5:07
Dimkov4-Jul-07 5:07 
GeneralRe: Check if app exists and open from internet Pin
Pete O'Hanlon5-Jul-07 10:40
mvePete O'Hanlon5-Jul-07 10:40 
AnswerRe: Check if app exists and open from internet Pin
Dimkov5-Jul-07 11:02
Dimkov5-Jul-07 11:02 
GeneralEvolving Software Architectures and CRM world Pin
p_v_chaitanya2-Jul-07 1:25
p_v_chaitanya2-Jul-07 1:25 
QuestionWhat does it require to be an Architect ? Pin
dharani1-Jul-07 23:02
dharani1-Jul-07 23:02 
AnswerRe: What does it require to be an Architect ? Pin
vytheese2-Jul-07 4:45
professionalvytheese2-Jul-07 4:45 
GeneralRe: What does it require to be an Architect ? Pin
Urs Enzler2-Jul-07 22:04
Urs Enzler2-Jul-07 22:04 

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.