School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
You're Browsing As A Guest! Register Now...
Become an Expert!

Join 353,888 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,179 people online right now.Registration is fast and FREE... Join Now!



File Searcher Security Problems

52 Weeks of Code Challenge: WPF

Week #10 of the 52 Weeks of Code Challenge is WPF. If you're a .NET programmer, you should give it a shot. Click Here!
Page 1 of 1

File Searcher Security Problems Rate Topic: -----

#1 ccubed  Icon User is offline

  • Support Haruhism!
  • Icon

Reputation: 46
  • View blog
  • Posts: 1,002
  • Joined: 13-June 08


Dream Kudos: 275

Posted 16 June 2009 - 11:22 PM

I have a program that uses System.IO.Directory.GetFiles to search a filesystem for a particular item. Is there anyway, other than manual exclusion, to exclude files that I don't have access to? Right now, unless I specify a particular folder, it ends up trying to search in C:\Windows or on external, it tries to search System Volume Information. Anyway to tell it to just skip over files/folders I can't access?

This post has been edited by ccubed: 16 June 2009 - 11:22 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month