Which action can help in mitigating web server directory traversal attacks?
a. Enable guest accounts on servers
b. Allow full directory listings
c. Validate and sanitize user input paths
d. Decrease server timeout settings