(Article contents added) |
(→Hiding Files: Wildcards info added) |
||
Line 18: | Line 18: | ||
</hideFiles> | </hideFiles> | ||
</source> | </source> | ||
+ | |||
+ | Please note that you can use the following wildcards in your <code>hideFiles</code> definitions: | ||
+ | * <code>?</code> (''question mark'') – stands for exactly one character. | ||
+ | * <code>*</code> (''asterisk'') – stands for multiple characters. | ||
+ | |||
+ | The default setting (<code>.*</code>) means that all files that begin with a dot character will be hidden. |
Latest revision as of 08:31, 27 April 2011
CKFinder is a file browser that makes it possible to upload the files to your server and browse the folders for uploaded files. Sometimes, however, you may wish to hide specific folder or files from being shown to the users. The following CKFinder configuration options will help you achieve this.
Hiding Folders
If you want to tell CKFinder to hide some folders from the users browsing files on the server, use the <hideFolders>
configuration setting. Note that by default CKFinder is set to hide the special Subversion (SVN) and CVS folders from the users.
<hideFolders> <folder>.svn</folder> <folder>CVS</folder> </hideFolders>
Hiding Files
If, on the other hand, you would like to hide a class of files from your users, for example in order to conceal some system files from your users, use the hideFiles
option. Note that by default CKFinder is set to hide the special server configuration files from the users.
<hideFiles> <file>.*</file> </hideFiles>
Please note that you can use the following wildcards in your hideFiles
definitions:
-
?
(question mark) – stands for exactly one character. -
*
(asterisk) – stands for multiple characters.
The default setting (.*
) means that all files that begin with a dot character will be hidden.