![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We need to do user/password validation for a web site from a file on a d3 system. I know how to encrypt a password in D3 but would like to encrypt the password on the web side and pass it already encrypted to D3. Anyone have any suggestions for the best way to do this. On the D3 side I can encrypt with a seed using ICONV(SEED:@AM:STRING,'U0090'). Is there an equivalent encryption algorithm outside of D3? |
#3
| |||
| |||
|
|
We need to do user/password validation for a web site from a file on a d3 system. I know how to encrypt a password in D3 but would like to encrypt the password on the web side and pass it already encrypted to D3. Anyone have any suggestions for the best way to do this. On the D3 side I can encrypt with a seed using ICONV(SEED:@AM:STRING,'U0090'). Is there an equivalent encryption algorithm outside of D3? |
#4
| |||
| |||
|
|
We need to do user/password validation for a web site from a file on a d3 system. I know how to encrypt a password in D3 but would like to encrypt the password on the web side and pass it already encrypted to D3. Anyone have any suggestions for the best way to do this. On the D3 side I can encrypt with a seed using ICONV(SEED:@AM:STRING,'U0090'). Is there an equivalent encryption algorithm outside of D3? |
#5
| |||
| |||
|
|
I've written bi-directional encryption/decryption for D3 that does what you say but the non-D3 component is all written in VB6 at the moment. Can you tell us more about how you're moving data between D3 and the web site? FlashCONNECT? WebWizard? Coyote? If you're using HTTPS/SSL with FC for example, then the password is encrypted from the client to the web server, but from the web server to the DBMS it's in the open. On a LAN that's not so much a problem but if your web server proxies calls over the internet back to D3 then you need to wrap the comms in IPSEC, or wrap queries and responses in another HTTPS call to the back-end. More info on the technologies in use on the client and middle tier would really help. Tony TG@ removethisNebula-RnD .com Bob Frank <bgf (AT) jgatech (DOT) com> wrote: We need to do user/password validation for a web site from a file on a d3 system. I know how to encrypt a password in D3 but would like to encrypt the password on the web side and pass it already encrypted to D3. Anyone have any suggestions for the best way to do this. On the D3 side I can encrypt with a seed using ICONV(SEED:@AM:STRING,'U0090'). Is there an equivalent encryption algorithm outside of D3? |
#6
| |||
| |||
|
|
Thanks for the responses. Thanks Dave H, code samples are great b/c then I know exactly what you're talking about. To answer Tony's question, we are using a modified jd3. My only concern is with passing unencrypted passwords from the web server to the d3 server. We got the job due to the previous company being careless on security so we want to be extra careful. Even though within it's only employee's on the company's network, if they sniff a password, they can make web purchases under posing as one of the company's users. Our plan is to never allow passwords to never appear unencrypted at any point in the transaction and to validate passwords only by comparing encrypted values. |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Wouldn't it be better to not do the LEN every time the loop executes? /just asking |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
And/or a 'trick?' I recently picked up, if you LIKE the idea of having a LEN() in the loop, change the structure so it is FOR CharCnt = LEN(inString) to 1 step -1 This way the LEN() is only executed once ... provided the order that you traverse doesn't matter. Ditto for DCOUNTS etc |
![]() |
| Thread Tools | |
| Display Modes | |
| |