Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need a help,

How can we block single file but it should be viewable and uploadable from one folder. We are generating some CSV file that file should not be editable, but it should be viewable and uploadable.

Or how can we stop save as function in a CSV file?

This all process should be get affect from a BAT file or from any .net pages (VB/C#)

share|improve this question
2  
Can you explain what the ultimate goal is here. It's difficult to understand what you are asking for at the moment. –  ChrisF Mar 8 '11 at 10:37
3  
Set the readonly flag on the file. –  cbz Mar 8 '11 at 11:23
    
system generating one CSV file to shared folder, but this should not be modified by the user or any one from our network. but one user from our network he will just upload the CSV files to one of the bank site, and who is receving this file they should able to modify this file. –  rengith Mar 8 '11 at 13:03
add comment

1 Answer

As CBZ mentioned, make the files are read-only. That way the files cannot be edited, but cam be viewed.

Making it read-only also means that you cannot replace the file - btw.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.