You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "cristian manea (JIRA)" <ib...@incubator.apache.org> on 2006/06/05 18:53:30 UTC

[jira] Commented: (IBATISNET-160) Decrypting layer in order to use crypted xml config files; tool to encrypt the xml files; embeded xml files

    [ http://issues.apache.org/jira/browse/IBATISNET-160?page=comments#action_12414788 ] 

cristian manea commented on IBATISNET-160:
------------------------------------------

Thank you very much, Gilles.

I think it could be what I need, and by adding a good obfuscation one could even hide the data. I will test it and give you feedback if I have any problems. 

Cristian

> Decrypting layer in order to use crypted xml config files; tool to encrypt the xml files; embeded xml files
> -----------------------------------------------------------------------------------------------------------
>
>          Key: IBATISNET-160
>          URL: http://issues.apache.org/jira/browse/IBATISNET-160
>      Project: iBatis for .NET
>         Type: Wish

>   Components: DataMapper
>     Versions: DataMapper 2.0, DataMapper 1.3, DataMapper 1.5
>  Environment: Windows-Linux(Mono), although applies to the Java version
>     Reporter: cristian manea

>
> It would be interesting to be able to use encrypted XML configuration files, the configuration loader should be able to decrypt that file before deserializing.
> Some of the benefits would be:
>    - avoid that someone not informed plays with your mapping, putting your application in jeopardy; of course, a malfunction would appear, but nobody would admit that has done something (a common enterprise scenario...unfortunately)
>    - avoid exposing your persistence logic to others (as iBatis could be used by some not open-source software)
> Is there any workaround that could be used (an embeded resource instead of a file on file-system, ecc)? I've seen in the sdk help a function called "public static XmlDocument GetEmbeddedResourceAsXmlDocument(string resource);", but with no further explaination.
> Regards.
> Cristian Manea

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira