Flashcard (Front and Back)

Front (Question)
Problem with FollowSymLinks option in httpd.conf file
Back (Answer)
When we saved disk space for our multiple copies of the Butterthlies catalogs by keeping the images bench.jpg, hen.jpg, bath.jpg, and tree.jpg in /usr/www/APACHE3/main_docs and making links to them, we used hard links. This is not always the best idea, because if someone deletes the file you have linked to and then recreates it, you stay linked to the old version with a hard link. With a soft, or symbolic, link, you link to the new version. To make one, use ln -s source_filename destination_filename. However, there are security problems to do with other users on the same system. Imagine that one of them is a dubious character called Fred, who has his own webspace, ... /fred/public_html. Imagine that the webmaster has a CGI script called fido that lives in ... /cgi-bin and belongs to webuser. If the webmaster is wise, she has restricted read and execute permissions for this file to its owner and no one else. This, of course, allows web clients to use it because they also appear as webuser. As things stand, Fred cannot read the file. This is fine, and it's in line with our security policy of not letting anyone read CGI scripts. This denies them explicit knowledge of any security holes. Fred now sneakily makes a symbolic link to fido from his own web space. In itself, this gets him nowhere. The file is as unreadable via symlink as it is in person. But if Fred now logs on to the Web (which he is perfectly entitled to do), accesses his own web space and then the symlink to fido, he can read it because he now appears to the operating system as webuser.


Memory Work Out Sessions use brain research to accelerate and improve memorization. Automatically scheduled daily review drills ensure sure you don't forget.





or Find more than 100,000 other things to learn

Educators and Trainers:

Tour YoYoBrain's resources for learning and teaching
Previous Card See the whole card set Next Card


Comments:

Other flashcards from Apache
Apache: directive sets the name of t...       Apache can be persuaded to cough up c...       Apache comes with it's own control pr...       How do you tell Apache what user and ...       When you are specifying a file locati...       How can you find out command line opt...       three subdirectories that Apache expe...       Apache: Config directive specifies w...       directive sets the name of the file t...       What are the 3 directives for using D...       directive lets you specify what happe...       What are 2 types of AuthType directiv...       How do you set up showing default fil...       Each username/password pair is valid ...       Apache: how do you turn on authentic...       What is the apache binary name under ...       What is the issue if you request a do...       How would you install Apache on Red H...       2 ways dividing Apache's functionalit...       Define: DSO mechanism       If you are using the DSO mechanism Ap...       Once mod_so has been compiled in, the...       Difference between 1.x modules and 2....       Define: MPM       What is the first step in setting up ...       After running the ./configure what ar...       What is the httpd.conf setting to set...       Setting for each host being monitored...       Apache: Directive to tell server whe...       Directive to add languages if Multivi...       directive allows the user to set a li...       Function of AuthDBAuthoritative direc...       Directive to create a log file       Directive sets the hostname of the se...       Apache: function of directive: UseCan...       Function of directive: ServerSignature       Function of directive: ServerTokens       Directive that gives a list of altern...       Purpose of ScoreBoardFile directive       Purpose of LockFile directive       Directive that sets the maximum time ...       Purpose of HostNameLookups directive       Directive block used to enclose a gro...       directive allows the server administr...       Purpose of the Options directive       Problem with FollowSymLinks option in...       An alternative to restarting to chang...       Define: metafile       Directive which tells Apache that req...       Define: Name-based Virtual Hosts      





App_store_badge
What's new | About Us | Privacy Policy | Copyright Policy | Contact Us

Copyright 2007-2025 YoYoBrain.com

Managed By W3mg