Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .