PC Review


Reply
Thread Tools Rate Thread

how to change the application's trust level?

 
 
Rishi
Guest
Posts: n/a
 
      9th Nov 2009
We are developing an application in ASP.NET (Ms visual studio 2008 - .net
framework 2.0). There are 4 developers involved in this project and they will
work separate nodes. The application source code will be stored one server
(Web Server). There no problem while open the solution in multiple nodes, and
all of them can modify. We are facing the problem while running the solution
in other then server node. This solution is running in only on the server
(where we've maintained the source code). In all other nodes showing security
related errors.

Regards,
Rishi
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      9th Nov 2009
On Nov 9, 7:42*am, Rishi <Ri...@discussions.microsoft.com> wrote:
> We are developing an application in ASP.NET (Ms visual studio 2008 - .net
> framework 2.0). There are 4 developers involved in this project and they will
> work separate nodes. The application source code will be stored one server
> (Web Server). There no problem while open the solution in multiple nodes,and
> all of them can modify. We are facing the problem while running the solution
> in other then server node. This solution is running in only on the server
> (where we've maintained the source code). In all other nodes showing security
> related errors.
>
> Regards,
> Rishi


The web.config file has an element for this

<trust
level="[Full|High|Medium|Low|Minimal]"
originUrl="URL"
processRequestInApplicationTrust = "[True|False]"
/>

http://msdn.microsoft.com/en-us/library/tkscy493.aspx
 
Reply With Quote
 
Gregory A. Beamer
Guest
Posts: n/a
 
      11th Nov 2009
=?Utf-8?B?UmlzaGk=?= <(E-Mail Removed)> wrote in
news:E06F1277-A100-47CA-984D-(E-Mail Removed):

> We are developing an application in ASP.NET (Ms visual studio 2008 -
> .net framework 2.0). There are 4 developers involved in this project
> and they will work separate nodes. The application source code will be
> stored one server (Web Server). There no problem while open the
> solution in multiple nodes, and all of them can modify. We are facing
> the problem while running the solution in other then server node. This
> solution is running in only on the server (where we've maintained the
> source code). In all other nodes showing security related errors.


The proper way to handle development with multiple developers is NOT to
store the source on a web server and have the developers all develop
directly off the server. The fact you have to compromise security should
be a red flag, even if it is a development server.

You really should do the following:

1. Set up some form of source control. If money is an issue, try CVS or
Subversion. Other choices are SourceSafe (yuck, personally, but it can
work for small teams), Team Foundation Server, Vault/Fortress, or the
Rational Suite of products (TFS and Rational are the expensive options).

2. Download a continuous integration product, like Cruise Control .NET.
Set up your project to build when checked in. You can set up Cruise
Control .NET to use MSBuild or nAnt or similar. This is an optional
step, but gives instant feedback when a build is broken.

3. Have the developers get source on their local box and check out from
source control. The development is in isolation, but the optional
continuous integration is a step that can alleviate the problems with
this route.

IMO, the "lets destroy security so we can all work on the same box" is
an ill-conceived idea. You can solve the security issue easily enough,
but you still have problems with debugging. Since only one person can
really debug at a time, his debugging can be poluted by the efforts of
other developers. Generally, this shows up as a bug you chase that may
or may not be there (especially with Shared/static bits - things stored
in application, for example). Sometimes, however, things appear to work
when they really are not. Not a wise direction to go.

If you don't want to heed this advice, Alexy gave you a means of
neutering the warnings and errors. ;-)

Peace and Grace,
Greg

--
Vote for Miranda's Christmas Story
http://tinyurl.com/mirandabelieve

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating an application manifest with a trust level section for an administrative application RossettoeCioccolato Microsoft VC .NET 11 21st Apr 2006 08:00 PM
How do you change the trust level for an APS.NET application? g3000 Microsoft ASP .NET 2 31st Jan 2006 02:30 AM
big problem with asp.net application trust level on new server Aahz Microsoft ASP .NET 3 28th Nov 2005 06:55 PM
Security/Trust Level on Web Application Carl Gilbert Microsoft ASP .NET 0 15th Jul 2005 01:13 PM
Evaluating url trust level Hagay Lupesko Microsoft ASP .NET 0 19th Oct 2003 08:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:09 AM.