Save file through samba - automatically include ip?
I have a samba-server in a school-network.
Now what I want is:
each time a file is saved on this server, some kind of id must be assigned. Like ip, machine-name or user-name should automatically be added to the filename or inserted in the file - without user intervention!
I simply have no idea - can it be done?
Longer explanation: The samba-server is to be used to store students exams & the likes, teachers have access from classroom & office. Server has to be very secured as it connects student- & teacher networks.
The files saved are 0470, group is "teacher", all files are hidden. Students have all the same account - no domain accounts are valid!
So effectively, no student can read any file - not even their own.
But they can save a file under any name - I want to know who actually created the file!
|