[ http://issues.apache.org/jira/browse/IBATISNET-160?page=comments#action_12413241 ]
Gilles Bayon commented on IBATISNET-160: ---------------------------------------- iBATIS already support your need. You can embedd all the configuration files as dll ressource. ============================ Documentation extract (pdf version) page 64 "4.3.3.7. The <sqlMap> Element ... Example 4.3. Specifying sqlMap locations ... <!-- Embedded resources using [extendednamespace.]filename, assemblyname --> <sqlMaps> <sqlMap embedded="Maps.Account.xml, MyApp.Data"/> <sqlMap embedded="Maps.Category.xml, MyApp.Data"/> <sqlMap embedded="Maps.Product.xml, MyApp.Data"/> </sqlMaps> ============================= For an usage, look at the NUnit tests (ConfigureTest) that will show all the possibilities. There is no plan to incorporate encrypted files. -Gilles > 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