| | | Junior Member
       
Group: Skelta Workflow/BPM Net Last Login: Friday, November 17, 2006 Posts: 5, Visits: 50 |
| In WorkflowNET.Config.Xml, there are many connection strings. How can I protected them? Is it possible to encrypt them?
One solution is to use trusted connection (Integrated Security=SSPI). But in this case I need to setup Skelta services to be running under custom account. Also a web part of Skelta is using the same configuration file as main Skelta service, so the web part is running under different account.
So both accounts need to have access to SkeltaTemp and I must to setup permissions on this folder. What to do, if it's not possible (in client's environment) to setup any persmissions anywhere in %SYSTEM%\Temp\ ? Is it possible to move Skelta temporary folder to Program Files\Skelta\Workflow.NET\ (like .NET) ? |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, February 22, 2008 Posts: 25, Visits: 61 |
| | Its simple. You can return connection string from a method by developing a class implementing IDBConnectionString interface. Class implementing IDBConnectionString Interface: This interface can be used to secure the connection string configuration in Workflow.NET configfile <datasource type="sql server" class="" assembly="" param= ""><%CustomData%></datasource>. Custom data can be passed to the interface method by setting the inner text for the datasource node. Using this the connection strings can be moved from the configuration file to dll in order to enhance security. Four implementation code samples available in <programfiles>\Skelta\Workflow.NET\Doc\SkeltaHelp.chm file. Skelta Workflow.NET 2004 R2 Help -> About Skelta Workflow.NET 2004 R2 -> What is new in Skelta Workflow.NET 2004 R2. Feature 6: Class implementing IDBConnectionString Interface
Moderator |
| | | | Junior Member
       
Group: Skelta Workflow/BPM Net Last Login: Friday, November 17, 2006 Posts: 5, Visits: 50 |
| Yes, it works. Now I can encrypt my connection string in registry. Thank you |
| | | | Junior Member
       
Group: Skelta Workflow/BPM Net Last Login: Friday, November 17, 2006 Posts: 5, Visits: 50 |
| Does support XmlResourceHandler this syntax? I tried it and I got an error: [NullReferenceException: Object reference not set to an instance of an object.] ResourceHandler.XMLResource.Initialize() +1930 Workflow.NET.ActionsData.InitializeResourceHandler() +347 Workflow.NET.Web.ActivityControl.ActivityControl.InitializeActionsData(String ApplicationName, String WorkflowName) +735
And what about a DatabaseContentHandler? In sample config file for the DatabaseContentHandler, the connectionString is XML attribute of the element <data source .../>. |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, February 22, 2008 Posts: 25, Visits: 61 |
| | |
|
|