Este conteúdo não está disponível no idioma selecionado.
Chapter 11. Application Security
11.1. Datasource Security Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
11.1.1. About Datasource Security Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
		Datasource security refers to encrypting or obscuring passwords for datasource connections. These passwords can be stored in plain text in configuration files, however this represents a security risk.
	
		The preferred solution for datasource security is the use of either security domains or password vaults. Examples of each are included below. For more information, refer to:
	
- Security domains: Section 12.3.3.1, “About Security Domains”.
 - Password vaults: Section 7.1, “Password Vault System”.
 
Example 11.1. Security Domain Example
			The DsRealm domain is referenced by a datasource like so:
		
Example 11.2. Password Vault Example
<security>
  <user-name>admin</user-name>
  <password>${VAULT::ds_ExampleDS::password::N2NhZDYzOTMtNWE0OS00ZGQ0LWE4MmEtMWNlMDMyNDdmNmI2TElORV9CUkVBS3ZhdWx0}</password>
</security>
<security>
  <user-name>admin</user-name>
  <password>${VAULT::ds_ExampleDS::password::N2NhZDYzOTMtNWE0OS00ZGQ0LWE4MmEtMWNlMDMyNDdmNmI2TElORV9CUkVBS3ZhdWx0}</password>
</security>