aboutsummaryrefslogblamecommitdiffstats
path: root/lib/orber/doc/src/ch_security.xml
blob: a25a8a5052cd78b340c10bf7521a5777945ba19d (plain) (tree)
1
2
3
4
5
6
7
                                            




                                       
                                        

















































                                                                                    
                                                                                      
                            


                                                                                
             
                                                                                       
                            
                                               







                                                                                                   

                                                                                          
                            


                                                                                
             


                                                                                          
                            
                                               
             
                             
                            
                                                   




              
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>1999</year><year>2011</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      The contents of this file are subject to the Erlang Public License,
      Version 1.1, (the "License"); you may not use this file except in
      compliance with the License. You should have received a copy of the
      Erlang Public License along with this software. If not, it can be
      retrieved online at http://www.erlang.org/.
    
      Software distributed under the License is distributed on an "AS IS"
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
      the License for the specific language governing rights and limitations
      under the License.
    
    </legalnotice>

    <title>How to use security in Orber</title>
    <prepared></prepared>
    <docno></docno>
    <date>1999-09-01</date>
    <rev></rev>
    <file>ch_security.xml</file>
  </header>

  <section>
    <title>Security in Orber</title>

    <section>
      <title>Introduction</title>
      <p>Orber SSL provides authentication, privacy and integrity for your
        Erlang applications. Based on the Secure Sockets Layer protocol, the
        Orber SSL ensures that your Orber clients and servers can
        communicate securely over any network. 
        This is done by tunneling IIOP through an SSL connection. To get
        the node secure you will also need to have a firewall which
        only lets through connections to certain ports.</p>
    </section>

    <section>
      <title>Enable Usage of Secure Connections</title>
      <p>To enable a secure Orber domain you have to set the configuration variable 
        <em>secure</em> which currently only can have one of two values;
        <em>no</em> if no security for IIOP should be used and <em>ssl</em> if 
        secure connections is needed (<em>ssl</em> is currently the only supported 
        security mechanism).</p>
      <p>The default is no security.</p>
    </section>

    <section>
      <title>Configurations when Orber is Used on the Server Side</title>
      <p>There is a variable to conficure Orber's SSL behavior on the server side.</p>
      <list type="bulleted">
        <item><em>ssl_server_options</em> - which is a list of options to ssl. 
        See the <seealso marker="ssl:ssl">SSL</seealso> application for further 
	descriptions on these options.</item>
      </list>
      <p>There also exist an API function for accessing the value of this variable:</p>
      <list type="bulleted">
        <item>orber:ssl_server_options/0</item>
      </list>
    </section>

    <section>
      <title>Configurations when Orber is Used on the Client Side</title>
      <p>When the Orber enabled application is the client side in the secure connection the 
        different configurations can be set per client process instead and not for the whole domain
        as for incoming calls.</p>
      <p>There is a variable to set default values for the domain but they can be changed 
        per client process.</p>
      <list type="bulleted">
        <item><em>ssl_client_options</em> - which is a list of options to ssl.
        See the <seealso marker="ssl:ssl">SSL</seealso> application for further 
	descriptions on these options.</item>
      </list>
      <p>There also exist two API functions for accessing and changing the values of this 
        variable in the client processes.</p>
      <p>Access function:</p>
      <list type="bulleted">
        <item>orber:ssl_client_options/0</item>
      </list>
      <p>Modify function:</p>
      <list type="bulleted">
        <item>orber:set_ssl_client_options/1</item>
      </list>
    </section>
  </section>
</chapter>