Instead of simply hiding (Disney web site) files beginning with a
Instead of simply hiding files beginning with a dot, you can also specify a string pattern to Samba for files to hide, using the hidefilesoption. For example, let s assume that we specified the following in our example [data]share: [data] path = /home/samba/data browseable = yes guest ok = yes writeable = yes case sensitive = no hide files = /*.java/*README*/ Each entry for this option must begin, end, or be separated from another with a slash (/) character, even if there is only one pattern listed. This convention allows spaces to appear in filenames. In this example, the share directory would appear as shown in Figure 5.3. Again, note that we have set the Windows 98 option to view hidden files for the window. Figure 5.3: Hiding files based on filename patterns If we want to prevent users from seeing files at all, we can instead use the vetofilesoption. This option, which takes the same syntax as the hidefilesoption, specifies a list of files that should never be seen by the user. For example, let s change the [data] share to the following: 150
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.