query: Is it safe to use file extension to determine whether a file is allowed?
positive_passages.docid: 137047
positive_passages.text: How to check file types of uploaded files in PHP?
negative_passages.docid: 18202
negative_passages.text: Given a filesystem path, is there a shorter way to extract the filename without its extension?
negative_passages.docid: 70513
negative_passages.text: How do I make a file NOT modifiable?
negative_passages.docid: 1949
negative_passages.text: How do I check whether a file exists without exceptions?
negative_passages.docid: 49472
negative_passages.text: Testing if a file/directory is read only
negative_passages.docid: 49250
negative_passages.text: Can the C preprocessor be used to tell if a file exists?
negative_passages.docid: 113351
negative_passages.text: Finding files by only knowing extension?
negative_passages.docid: 27783
negative_passages.text: How do you explain the value of native files to an uneducated client?
negative_passages.docid: 151121
negative_passages.text: File extensions for unix shell scripts
negative_passages.docid: 30932
negative_passages.text: How to associate a file extension to the current executable in C#
negative_passages.docid: 92335
negative_passages.text: Check if a file is executable
negative_passages.docid: 149580
negative_passages.text: Searching for specific file extensions in a folder/directory (PHP)
negative_passages.docid: 41090
negative_passages.text: How would I go about creating a filename with invalid characters such as :?> ?
negative_passages.docid: 70022
negative_passages.text: How do I determine if I'm allowed to use an asset from the web in my game?
negative_passages.docid: 12929
negative_passages.text: How can I determine file type without an extension on Windows?
negative_passages.docid: 18095
negative_passages.text: how can you easily check if access is denied for a file in .NET?
negative_passages.docid: 17649
negative_passages.text: Is there a way to check if a file is in use?