CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GCDEF

Search: Search took 0.62 seconds.

  1. Replies
    22
    Views
    22,115

    Re: Create read-only file using c++

    You can't have a solution until you have clearly defined requirements, which you have yet to provide. We don't know how secure this needs to be.
  2. Replies
    22
    Views
    22,115

    Re: Create read-only file using c++

    The fact that you don't understand the solution doesn't change the fact that just changing the attributes does nothing to solve your problem.
  3. Replies
    22
    Views
    22,115

    Re: Create read-only file using c++

    How?
  4. Replies
    22
    Views
    22,115

    Re: Create read-only file using c++

    As has been explained already, all a user has to do is turn off those attributes and they can do what they want with the file. That isn't secure.
  5. Replies
    22
    Views
    22,115

    Re: Create read-only file using c++

    We don't really know what your requirements are and from your OP it seems you're just starting out. It's not a simple topic and you may be getting in over your head. Probably the simplest...
  6. Replies
    22
    Views
    22,115

    Re: Create read-only file using c++

    And then all a user has to do is use explorer, turn off the read only attribute, and do whatever they want to the file. I could be wrong, but I think he needs something more secure than that.
  7. Replies
    22
    Views
    22,115

    Re: Create read-only file using c++

    There's no real easy way to do that. If you really need it to be secure, your best bet is to encrypt it and use some kind of check sum to verify its integrity.
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured