.NET Application - security exception using mapped drive

I have a dot net application that runs ok if i am running it using a local drive (eg : C:\MYProject\App.exe).
But If I map a drive to the local drive (Map Z to C) and run it, the app gives me a security exception. I am using .NET 1.1.  I have modified the .NET Configuration to have Full Trust in the Local Intranet Zone.  The System is an XP Server.  
SouminiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
>> I have modified the .NET Configuration to have Full Trust in the Local Intranet Zone

It should now work. Are you sure it is still a security issue?
0
SouminiAuthor Commented:
I am not really sure. I have done all that in our test environment and  it works here.
But when I deploy to the production environment, it does not.
0
SouminiAuthor Commented:
oh one more detail is that , we RDP into the clients System and Run the application. Could the problem be related to that?
0
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Éric MoreauSenior .Net ConsultantCommented:
and the client system also have the local intranet zone set to full trust? it has to be done on each PC.
0
SouminiAuthor Commented:
Yes it is  but the client is in a different network. If I set the Internet policy to fulltrust, the application runs. Is there any way that I can give full trust only to that application in the internet zone?
0
Éric MoreauSenior .Net ConsultantCommented:
yes but you have to strongly signed the assembly. I would never accept that someone set the Internet zone to full trust on my PC.
0
SouminiAuthor Commented:
I have created a code group under the internet zone and assigned it full trust permission set. How  can I assign this group to the assembly?
0
Éric MoreauSenior .Net ConsultantCommented:
has your assembly been strongly signed?

You will need to read on the subject because I never to has to run an application from the Internet zone.
0
SouminiAuthor Commented:
I will do that and update the results here
0
SouminiAuthor Commented:
I have now strong named the assembly. I created a child code group under internet zone and set the membership condition as the strong name.  I then gave the permission as Full Trust.  Even then the application will not run, unless the membership condition is All Code and Permission Set is  Full trust. Not sure what more to do. Any reading I that I have done does not specify anything more than what i have done :(...


Any Help is greatly appreciated.. Thanks
0
SouminiAuthor Commented:
Found that I had to set the membership condition as all code under the local intranet zone. I was going thru a wild goose chase i suppose. Hopefully this will be useful to some one.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.