Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Non trusted location warning?

Status
Not open for further replies.

jsteph

Technical User
Oct 24, 2002
2,562
US
Hi,
I have a project I'm starting out with that is on my hard drive. Because it's buried deep in a folder path on my drive, I mapped a drive to that folder.

If I open the project by drilling down to the folder, it opens fine.

Yet if I open the very same project by just selecting the mapped drive, Studio 2005 gives me stern warnings something to the effect "This project is on a non-trusted site, you may get security warnings...".

Will this affect my code or project if I, say, build the project after opening it via the mapped drive? Will it hardcode some security restrictions into the final project? Or is this just a warning that I can safely ignore? I would assume windows is smart enough to know the source of any mapped drives, and that the source is the local hard drive, but maybe not?
Thanks,
--Jim
 
Try going into Settings->Control Panel->Administrative Tools->Microsoft .NET Framework 2.0 Configuration and setting the trust level for the assembly. Be sure to go through your mapped drive when browsing for the assembly.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
go into control panel\administrative tools. I'm not positive on the .Net2 tools but .Net 1.0-1.1 had tools to adjust the trust levels of different locations. You should be able to increase the intranet zone trust level and that should take care of those warnings.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
jbenson,Rick,
I tried that, and it looks like I've got to set it object by object? I'd like to just globally say "'P:\' is a local drive, treat it as such".

Is anything like that possible? Thanks,
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top