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 / New Users / April 2005

Tip: Looking for answers? Try searching our database.

WinXP SP2 security -- blocked files -- how to unblock from code?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jsnyder000 - 31 Mar 2005 17:55 GMT
I recently downloaded DNN 3.0.  Thousands of files in hundreds of directories.

Every file that contains code or is runnable has been "blocked" by SP2
security features (something to do with zone elevation and local machine
lockdown, I gather).  

I can unblock by right-clicking the file, selecting properties, and clicking
the "Unblock" button.  This is fine for a file or two, but it is a bit
tedious for hundreds of them.  I thought that it would be easy enough to
write a utility to iterate directories and files and unblock them.  
Unfortunately, I can't figure out how the "block" attribute is
implemented/exposed.

Any ideas?  

BTW, this is the sort of security enhancement that leads to decreased
security.  People tend to extend permissions, trusts, ownerships, etc. to
everything, when a more granular approach is not readily available.
Christopher Kimbell - 31 Mar 2005 18:43 GMT
I'm not sure if this will have anything to do with it, but have you tried to
enable "Allow active content to run in files on My Computer" located under
the Advanced -> Security section of Internet Explorer?

Chris

>I recently downloaded DNN 3.0.  Thousands of files in hundreds of
>directories.
[quoted text clipped - 16 lines]
> security.  People tend to extend permissions, trusts, ownerships, etc. to
> everything, when a more granular approach is not readily available.
jsnyder000 - 01 Apr 2005 03:09 GMT
Thanks, Christopher.  I appreciate the effort.

I found a solution that works in my specific situation, which I am posting
for the benefit of anyone else who follows this thread.  

The DotNetNuke install is downloaded in a zip file.  All you have to do is
unblock the zip file before extracting the contents -- the contents will not
be blocked.  An existing install of DNN can be repaired by extracting the zip
to the installation directory and overwriting the existing files (taking care
to preserve any changes to the DotNetNuke.sln, DotNetNuke.vbproj.webinfo, and
Web.config files).

Jim Snyder

> I'm not sure if this will have anything to do with it, but have you tried to
> enable "Allow active content to run in files on My Computer" located under
[quoted text clipped - 22 lines]
> > security.  People tend to extend permissions, trusts, ownerships, etc. to
> > everything, when a more granular approach is not readily available.

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.