September 21st, 2010, 07:15 AM
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.
September 20th, 2010, 01:49 PM
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.
September 20th, 2010, 01:37 PM
September 20th, 2010, 01:27 PM
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.
September 20th, 2010, 01:06 PM
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...
September 20th, 2010, 12:24 PM
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.
September 20th, 2010, 12:18 PM
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.