Block download .ps1 files
Hi,
has anyone managed to block the download of .ps1 files using “pattern match” ?
With .exe I have succeeded using the string “%0x4d5a%*” but I can't find anything about how to find the relevant string for .ps1 files.
Thanks
1
Comments
-
Does URL Paths help here - Deny *.ps1
0 -
Hi Bruce, I see that "URL Path" not always works. This is why I would like to try with "Pattern match".
0 -
Isn't a .ps1 file just a text file containing a Power Shell script?
0 -
It's a .ps1 file containing power shell commands.
0
