CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: file security

  1. #1
    Guest

    file security

    Does anyone know how to allow a program to have write access to a file, but
    not the user who is running the program. This is to ensure that the user does
    not mess with the file. Thanks for the help.


  2. #2
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: file security

    Well these are really slick but why not making a file read-only and hidden


  3. #3
    Join Date
    Jan 2000
    Posts
    45

    Re: file security

    hey, you can also do this:
    open "c:\whatever\whatever.dat" for output as #1
    write #1, text1
    close #1
    ' hope this helps


  4. #4
    Join Date
    Nov 1999
    Location
    Italy
    Posts
    80

    Re: file security

    What do you mean with "the user who's running the program cannot acces the file"?
    Do You have to hide and protect your file while the program is not runnin'?
    Please be more specific so WE can post, thanx

    Something over there is coding....
    ... and you don't know!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured