Deny Access to Files, Folders through htaccess – Deny from All

How to deny access to files, folders through htaccess file. In this tutorial, We are going to learn .htaccess directives through which we can deny direct access to files and folders.

How to Deny Access to Files, Folders through htaccess

How to Deny Access to Files, Folders through htaccess

What is .htaccess File?

.htaccess is a configuration file used by a web server (Apache). The full form of htaccess is Hypertext Access. Htaccess files are used to override server global configuration for the directory level in which you place this file.

Minimum Time to Cross Bridge by Four People using Torch

In this post, i am going to discuss a puzzle minimum time to cross bridge by four people using torch.

Problem Statement

Four people need to cross a bridge at night and they have one torch. The bridge can handle the load of only two people at a time. Person A can take 10 minutes, B takes 7 minutes, C takes 2 minutes and D takes 1 minute to cross the bridge. When two people cross the bridge together, they must move at the slower person’s pace. What’s the minimum time taken by four of them to cross the bridge.