Hi Brett,
The remoting server can be as secure as you can make any website if its hosted in IIS. For example you could run the dataportal using remoting and then set your IIS to use SSL, which means all data will be encrypted.
Whether I don't need to change anything in your code just enable SSL ,If it must be changed,could you tell me how to do?
Hope this helps
If you need to customize the remoting channel in any substantial
way, and it sounds like you do, then you’ll need to create a custom data
portal proxy class.
This is not too difficult. Just copy the RemotingProxy code from
the CSLA project into your project, and customize the way the remoting proxy
object is created so it includes your certificate.
Then set the CslaDataPortalProxy configuration value to use your
new RemotingProxy type instead of the one from Csla.dll.
Rocky
From: fjlycsy
[mailto:cslanet@lhotka.net]
Sent: Tuesday, January 13, 2009 9:18 PM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] Remoting dataportal using ssl
Thank you for your reply,
my application useing of csla.net framework and
remoting channel.
In order to prevent the anonymous call, my IIS server
requires the client to submit a digital certificate, and now I would like to
know how my digital certificates and server interaction, I also tried some
code, but the server always return 403 errors,
could you tell me how to use the certificate in
csla.net ?
Thank you for your reply, it gave me great help!
There is also a problem, it may be very simple for you, but I have not been successful, I have access to a lot of books, but also through the MSDN, Google to understand, but little information in this regard.
Remoting proxy object Is there a property to bind my digital certificate?
The following are some of my code fragment, please advise whether the omission of what?
"
IService service = (IService)RemotingServices.Connect(typeof(IService), "https://192.168.0.74/HttpBinary/SAService.rem");
X509Store x509Store = new X509Store("MY", StoreLocation.CurrentUser);
x509Store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly);
X509Certificate2Collection x509Selected = x509Store.Certificates;
IDictionary dictionary = ChannelServices.GetChannelSinkProperties(service);
dictionary["certificates"] = x509Selected[0];
Console.WriteLine("The server says : " + service.GetServerString() );
"
When run" service.GetServerString() " it will return 403 error!
I use a digital certificate to access my web page, it is correct, so IIS settings should be correct.
I’m sorry, I don’t know how to attach a certificate
to the remoting proxy…
Rocky
Hi Rocky:
Again disturb
use csla.net
use iis
use wcf
use x.509
how to attach a certificate to the wcf proxy?
Copyright (c) Marimer LLC