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

G

Guest

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.
 
C

Christopher Kimbell

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top