- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-13-2019 11:49 AM
Hello Team,
Please let me know is there any way to allow particular file name .
Example:- I want to allow for all user that they can download test.txt but i want to block all other .txt file.
12-13-2019 02:34 PM
It currently isn't possible to create a file-blocking exception based off of the files name. I'm actually not sure how you would go about working around this limitation since you are trying to allow a file based off of it's filename; it's relatively easy to do the opposite and block specific filenames, but you can't reverse that to allow the file.
11-25-2022 08:45 AM
There's no direct config for this but I was able to find below workaround:
https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CljWCAS
11-27-2022 01:48 AM
Hi @dmodi ,
What @MMadrala have suggested is really great idea.
I what thinking for another way - you can create custom application which look at HTTP response headers for Content Disposition and look for specific filename http-rsp-headers Context (paloaltonetworks.com)
I haven't tested it, but I am imagining
- you create a rule using the custom app and apply file blocking profile allowing txt files
- below that rule you have your default rules with file blocking profile blocking txt files.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!