Stephan, Thanks for the suggestion But my application runs on the windows environment, and using
i am able to hide and make read only file in windows but was not sure of the windows32 api instructions to make changes in privileges of the file for restricting access though.
Joe, Thanks for the property to get the user name of the OS, but my requirement is beyond application, infact it should enforce restriction in OS level