|
Home > Archive > Commerce Server General > August 2004 > Two-way Encryption
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Two-way Encryption
|
|
| Justin 2004-08-18, 2:47 am |
| Greetings all,
Trying to figure out how to use the two-way encryption capablities of
Commerce Server 2002 (using ASP.NET).
I've read both the "Managing Encrypted Profile Properties" portion of the
documentation as well as the sections in the "Building Solutions with MSCS
2002" book, and they are alittle unclear. Need some help understanding the
following:
1. In the web.config file in the whole
< encryption > < keys keyIndex="1" >
<add type="publicKey" value="<hex-string>" />....
< / encryption >
Are we suppose to put the actual key values that we've generated in
place of the '<hex-string>'?? If so, do we still need to append this to the
connection string? The documentation talks about changing code in the
global.asa, I have not seen the equivalent to these methods in ASP.NET. Can
someone shed some light on this as well?
2. Exactly where do we change the connection string? Just in our
web.config or are they in the Commerce Server Manager? (or somewhere else)
(or all)??
The documentation talks about an Encryption Key Generator Tool... where is
this?
It also mentions the GrenadeFX sample. I don't seem to have either of
these. How may I obtain these?
Sorry, there's quite a bit here, but I would appreciate any help on this
subject.
Thanks,
Justin
| |
| Justin 2004-08-18, 7:51 am |
| Ravi,
Thank you first such a speedy and helpful response. I was just wondering
where the connection strings that we need to change are located. I'm so used
to seeing connection strings in the web.config, and assumed it would be there
as well.
[quote author='Ravi']
> available as properties for those resources and can be
> accessed/modified using the Commerce Server Manager.
[/quote]
Yeah, thought I saw some connection string stuff in CS Manager...I'll have a
look
there. Again, thank you for you assistance.
I'll reply if I can't find them ;)
Thanks,
Justin
"Ravi Shankar" wrote:
> Hi Justin,
>
> 1. Yes you're supposed to put in the Public & Private
> keys in place of the <hex value>.
>
> 2. The Encryption Key generation Tool is part of the SDK
> and you'd probably need to build it on your dev system
>
> I'm confused about your request for connection strings...
> The connection strings used by all resources are
> available as properties for those resources and can be
> accessed/modified using the Commerce Server Manager.
>
> HTH.
>
> capablities of
> Properties" portion of the
> Solutions with MSCS
> help understanding the
> string>" />....
> we've generated in
> to append this to the
> changing code in the
> methods in ASP.NET. Can
> Just in our
> (or somewhere else)
> Generator Tool... where is
> have either of
> any help on this
>
| |
| Justin 2004-08-18, 7:51 am |
| Ravi,
One more thing.. the Encryption Key Gen tool is not in my SDK folder...any
ideas?
Thanks again,
Justin
"Ravi Shankar" wrote:
> Hi Justin,
>
> 1. Yes you're supposed to put in the Public & Private
> keys in place of the <hex value>.
>
> 2. The Encryption Key generation Tool is part of the SDK
> and you'd probably need to build it on your dev system
>
> I'm confused about your request for connection strings...
> The connection strings used by all resources are
> available as properties for those resources and can be
> accessed/modified using the Commerce Server Manager.
>
> HTH.
>
> capablities of
> Properties" portion of the
> Solutions with MSCS
> help understanding the
> string>" />....
> we've generated in
> to append this to the
> changing code in the
> methods in ASP.NET. Can
> Just in our
> (or somewhere else)
> Generator Tool... where is
> have either of
> any help on this
>
|
|
|
|
|