keep client users from browsing (Web site directory) into directories that
keep client users from browsing into directories that might have sensitive files. See our example earlier in this section. 5.2.3.3 follow symlinks This option, which is discussed in greater detail earlier, controls whether Samba will follow a symbolic link in the Unix operating system to the target, or if it should return an error to the client user. If the option is set to yes, the target of the link will be interpreted as the file. 5.2.3.4 getwd cache This global option specifies whether Samba should use a local cache for the Unix getwd()(get current working directory) system call. You can override the default value of yes as follows: [global] getwd cache = no Setting this option to yescan significantly increase the time it takes to resolve the working directory, especially if the widelinksoption is set to no. You should normally not need to alter this option. 5.2.3.5 wide links This option specifies whether the client user can follow symbolic links that point outside the shared directory tree. This includes any files or directories at the other end of the link, as long as the permissions are correct for the user. The default value for this option is yes. Note that this option will not be honored if the followsymlinksoptions is set to no. Setting this option to noslows smbd considerably. 5.2.3.6 hide files The hidefilesoption provides one or more directory or filename patterns to Samba. Any file matching this pattern will be treated as a hidden file from the perspective of the client. Note that this simply means that the DOS hidden attribute is set, which may or may not mean that the user can actually see it while browsing. Each entry in the list must begin, end, or be separated from another entry with a slash (/) character, even if there is only one pattern listed. This allows spaces to appear in the list. Asterisks can be used as a wildcard to represent zero or more characters. Questions marks can be used to represent exactly one character. For example: hide files = /.jav*/README.??? / 5.2.3.7 hide dot files The hidedotfilesoption hides any files on the server that begin with a dot (.) character, in order to mimic the functionality behind several shell commands that are present on Unix systems. Like hidefiles, those files that begin with a dot have the DOS hidden attribute set, which doesn t necessarily guarantee that a client cannot view them. The default value for this option is yes. 155
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.