NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Read only file should not be copied in CIFS

Kamal
3,484 Views

We have an requirement, where when the Read only file should not be allowed to copy. 

 

How do we achieve this. 

2 REPLIES 2

sgrant
3,465 Views

Hello, not exactly sure how you are coping the data, however in xcopy you could output those read-only files (dir /AR) to a txt file(s) and reference those in the /EXCLUDE parameter.

 

Hope this helps,

 

Thanks,

Grant.

EWILTS_SAS
3,427 Views

@Kamal wrote:

We have an requirement, where when the Read only file should not be allowed to copy. 

 

How do we achieve this. 


 

This is not the job of the storage system.

 

Think of it like me giving you money but telling you how to spend it.  Once it's been transferred from my wallet to yours, I have lost control of it.

 

You're telling the storage system you want the users to be able to read the file but then have the storage system restrict what can be with the contents once the file has been been read.  No storage system can control that.

 

 

You probably need to write or buy some wrapper code around the file access that enforces your policies.  That's what Data Loss Prevention products are for.

Public