[Samba] Samba - usage restrictions on files

L.P.H. van Belle belle at bazuin.nl
Thu May 2 13:02:49 UTC 2019


No, thats not samba that can helpout in points 2 and 3. 


3) Can be done with GPO settings. 
But this is no easy task and i'll bet i'll fine a loophole somewhere if you have set everything. 

If you dont need printing at all disable printing completely on the windows pc's. 
I would enable auditing on that share and enforce printing through cups and monitor both. 

Or publish the files through a webserver and set these restrictions there, thats possible also. 

But your forgetting one very important thing here. Ok, i open a file (read only), 
and I take my phone and take a picture of the screen and print that at home. 
And gone is your protection and its not monitored. 

Re-think this. 



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Edouard Guigné via samba
> Verzonden: donderdag 2 mei 2019 14:41
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Samba - usage restrictions on files
> Dear Samba Users,
> I am managing a Samba Share (and user accounts).
> Today a user ask me how to set restrictions on a directory :
> 1. read only on the all the foldes and the files
> 2. files cannot be copied outside the share
> 3. files cannot be print
> For 1., this is a basic feature, easy to make with Samba.
> But for 2. and 3., I don't think Samba can help to achieve this ?
> Restrictions to copy or print should be set through another system or 
> softwares ?
> Best Regards,
> EdG
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list