Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / October 2004

Tip: Looking for answers? Try searching our database.

UIP 2.0 specify App.config location how-to

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gerg - 25 Oct 2004 18:41 GMT
Hi,

The UIP documentation states, in Chapter 4,

"Threat: Malicious assemblies are loaded during runtime"

And suggests the following:

"Specify another resource, such as the SQL Server computer, to provide the
configuration information, instead of the traditional
ExecutableAssemblyName.exe.config."

My question is: How to specify another resource for the app.config file as
suggested above?

Any help would be SUPER GREATLY... Thanks

Greg
Robert Koritnik - 26 Oct 2004 08:44 GMT
You didn't get the point. It doesn't mean you should put ALL the config information into SQL, but the parts, that define classes within assemblies that should be dynamicly loaded like state management class etc... It gives many suggestions. You should use AT LEAST ONE of them.

Excerpt:

Threat: Malicious assemblies are loaded during runtime
Threat target
 An application that uses the UIP Application Block
Risk
 Because UIP relies heavily on the configuration file, the configuration file can be used as a break-in point for hackers. UIP uses the configuration information to dynamically load assemblies. Additionally, critical information, such as the SQL Server connection string, is stored in the configuration file. This information is at risk because it is in plain text format.
Attack techniques
 The attacker deploys malicious assemblies on the client and alters the configuration file to force UIP to load the malicious assemblies. The attacker can then take control of the workflow.
Countermeasures
Use the Configuration Management Application Block (CMAB) to increase the level of protection for the configuration file needs.
Specify another resource, such as the SQL Server computer, to provide the configuration information, instead of the traditional ExecutableAssemblyName.exe.config.
Permit UIP to read Class information from the configuration file only, instead of from the entire assembly information. The drawback to this approach is that all assemblies must be known at compile time.
Declare all assemblies that are part of the application and use SecurityAction.FullDemand.

Signature

RobertK
{ Clever? No just smart. }

> Hi,
>
[quoted text clipped - 14 lines]
>
> Greg

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.