Solved

Windows Explorer

Posted on 1997-05-01
4
144 Views
Last Modified: 2010-04-06
I am designing a security application.

The idea of it is that when a folder is accessed under the windows explorer my application creates and executes a form that basically requires a password before the folder will be displayed.

My question is - How do I return values from the windows explorer so that I may intercept the opening of the folder???
0
Comment
Question by:Gavin Scurr
4 Comments
 
LVL 2

Expert Comment

by:javiertb
ID: 1335835
I guess this isn't a 50 points question...
0
 

Author Comment

by:Gavin Scurr
ID: 1335836
Adjusted points to 150
0
 

Expert Comment

by:msnell
ID: 1335837
You would have to register a COM object to do it.
Look at the SH... funtions in the Windows API.
I have no idea of the details :)
0
 

Accepted Solution

by:
kangadru earned 150 total points
ID: 1335838
What is required is that you write a combonation of Shell Extensions that the explorer loads before displaying the folder contents.  Under normal circumstances the explore loads a default namespace extension to display the Folder contents.  What you are attempting to do is preempt that enumeration by a security lock. Now this is not as terribly terifying as it sounds, you don't have to rewrite the actuall folder enumeration as you can then call that inproc server but you do have to implement an IShellBrowser and an IShellFolder Extension in order to force the display of your form. If this is your first foray into COM/OLE/ActiveX you are in for some fun coding, it is intimidating at first glance but a search of the Microsoft site will provide a rather well written article by Jeff Prosise on Shell Extensions that deals with the basics of a shell extensionAndy
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now