Newbie question
- From: "Jason" <JasonJason@xxxxxxxxxxxxx>
- Date: Thu, 10 May 2007 15:06:50 -0700
OK, go easy, I'm a crypto-newbie, and also not sure if this is the right
group for this posting.
Here's the scenario:
I have a web site and want business partners to be able to link to my web
site from theirs, so I provide them the html syntax they can put on their
site to link to an .aspx page on mine.
If a user is signed on their site, I want that user to be signed on on my
site, so these corporate partners also have the option of sending additional
information in the querystring of this link that relays information about
the user currently logged in at their site (user id, name, etc.).
e.g. href='http://www.abc.com/target.aspx?id=123456&username=jason'
I want this information to be encrypted so it is secure
e.g. href='http://www.abc.com/target.aspx?id=h5gv2k&username=e6fy1'
When my target.aspx page gets the request, I can look for the querystring
parameters (username, id, etc.), decrypt the values, and take some action.
Here's my approach:
After doing some reading, it seems like public-key encryption is the way to
go. I would provide a public key for each corporate partner to use for
encrypting these values, and retain a private key for each partner that I
could use to decrypt the data in the code behind my target.aspx page.
To do this, I'd use either the DSACryptoServiceProvider class or the
RSACryptoServiceProvider class.
So I have some questions:
1. Will my corporate partners be able to encrypt their data using the RSA
(or DSA) library of their choosing?
2. Must they use the same certain version to encrypt the text as I'll be
using to decrypt the text? A platform-specific version?
3. Which of these is the better choice?
4. Any gotchas I should be aware of (certificates that need to be installed
on the server, etc.)?
and finally, to keep an open mind,
5. Is there a better way to solve this need?
TIA,
/jason
.
- Follow-Ups:
- Re: Newbie question
- From: Joe Kaplan
- Re: Newbie question
- Prev by Date: Re: Accessing certificate store from ASP.NET web project
- Next by Date: Re: Newbie question
- Previous by thread: Accessing certificate store from ASP.NET web project
- Next by thread: Re: Newbie question
- Index(es):
Relevant Pages
|