DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    14

    Cool Make My directory out of reach

    Hi Every Body:

    I create this directory by using create Directory method:

    Directory.CreateDirectory("C:\windows98\windowsdll\win32app\direction")

    if I want to hide this directory I will do the follwoing:

    Dim diMyDir As New DirectoryInfo("C:\windows98\windowsdll\win32app\direction")
    diMyDir.Attributes = FileAttributes.Hidden

    but As you know any user can find this directory by going to folder option and set Show hidden value to ture or show all file.

    so my question is how can I make my directory out of reach,that means no one can find it, is there any way to do that ,or can I add password to my directory ?

    any help will be appreciated

    regard's

    Husam

  2. #2
    Join Date
    Mar 2005
    Location
    Los Angeles, Calif. AKA: Gangsta Yoda™
    Posts
    455
    Why would you want to hide your folder?

    You may be able to place security on it but if it was an app that installed this folder I would not want it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer code questions via PMs.
    Microsoft MVP 2006-2009
    Office Development FAQ (VBA, VB6, VB.NET, C#)
    Software Engineer MCP (VB6 & .NET)
    Reps & Rating PostsVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address List

  3. #3
    Join Date
    Apr 2005
    Posts
    14
    Hi :

    Ok how can I place security on that dirctory?

    any help please

    regard's

    Husam

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links