davidande / FSRM-ANTICRYPTO

Protect servers against crypto attacks
GNU General Public License v3.0
18 stars 4 forks source link

Add files_to_accept.txt #14

Open florianrouxel22 opened 3 years ago

florianrouxel22 commented 3 years ago

Hello Davidande, Thanks a lot for your job. We have the following need, and it would be nice to integrate it in your script.

Fsrm file group can exclude some files even if they match included extension list. It would be usefull to integrate a "files_to_accept.txt" file, listing all specific files we want to authorise, without excluding all corresponding extension from our filter.

New-FsrmFileGroup -Name "$fileGroupName" -IncludePattern $monitoredExtensions -ExcludePattern $excludedfiles |Out-Null

I hope my request is understandable. do not hesitate to ask me if it is not the case. Regards,

Florian

davidande commented 3 years ago

Hello Florian (Bonjour) ExcludePattern required a list of extensions but not a list of files +++ David

florianrouxel22 commented 3 years ago

Hello David, Thanks for your answer.

It seems that file Screen/filtering accept both files and extensions. With the following settings, I can create « mozilla.sf » but not « mosilla.sf » file. @.D75E21.4D832110] This is useful in order to keep « .sf » extension filtering, but authorize user to save « normal » mozilla.sf file. Can you confirm what I have tested succesfully ? @.D75E21.4D832110]

I ‘ve added « ExcludePattern » in my script and it works well, but it would be great to have it in your script, in order to use your « original » version without modifications, and benefit of your futures updates without having to reanalyze the code ☺

Je viens de relire la réponse et je n’avais pas fait attention au « bonjour », vous êtes apparemment français ou tout du moins francophone. Je laisse malgré tout ma réponse en anglais loin d’être irréprochable…

Bonne journée ! Florian

De : David Andé @.> Envoyé : jeudi 10 juin 2021 12:38 À : davidande/FSRM-ANTICRYPTO @.> Cc : Florian ROUXEL @.>; Author @.> Objet : Re: [davidande/FSRM-ANTICRYPTO] Add files_to_accept.txt (#14)

Hello Florian (Bonjour) ExcludePattern required a list of extension but not a list of files +++ David

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/davidande/FSRM-ANTICRYPTO/issues/14#issuecomment-858512063, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUMYDA7Q6ONIJCE2P62JYRLTSCIX7ANCNFSM46JXXYYQ.