CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2004
    Posts
    2

    Can one create a file which is never modified by others, even if administrator?

    Hellow forsk,

    I have a question about a file which is never modified by others, even if administrator.

    Please tell me if one can create this kind of file probrammatically.
    And if one can, tell me how to create.

    Target OS is Windows 2000 and Windows XP

    Thank you.

  2. #2
    Join Date
    Jul 2005
    Location
    Germany
    Posts
    1,194

    Re: Can one create a file which is never modified by others, even if administrator?

    Why would you want such a file?
    Just don't modify it, if you don't want to.
    If you want to prevent somebody from modifying it accidently, you can set the write protection file attribute.
    Please don't forget to rate users who helped you!

  3. #3
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: Can one create a file which is never modified by others, even if administrator?

    Moreover, you might prefer to encrypt to protect such information.

  4. #4
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: Can one create a file which is never modified by others, even if administrator?

    What's an "Administrator" who cannot do something? A power user? An ordinary user? A guest?
    Come on!...
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  5. #5
    Join Date
    May 2001
    Location
    Oslo, Norway
    Posts
    610

    Re: Can one create a file which is never modified by others, even if administrator?

    Again semi-hackers writing semi-normal software....Uff..
    No you cannot, and even if you could i would still crack it !
    Whats your intention, mister?

  6. #6
    Join Date
    Apr 2006
    Posts
    16

    Re: Can one create a file which is never modified by others, even if administrator?

    Moreover, you might prefer to encrypt to protect such information.
    it is unnecessary if you set read protection flag for everybody, except administrator.

  7. #7
    Join Date
    Feb 2002
    Posts
    4,640

    Re: Can one create a file which is never modified by others, even if administrator?

    Actually, one can create a file that is not modifyable by others.

    Write it to a CD-R!

    Viggy

  8. #8
    Join Date
    May 2001
    Location
    Oslo, Norway
    Posts
    610

    Re: Can one create a file which is never modified by others, even if administrator?

    Quote Originally Posted by MrViggy
    Actually, one can create a file that is not modifyable by others.

    Write it to a CD-R!

    Viggy
    Haha!

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