Homepage des Lehrgebiets Kommunikationssysteme

5.4 .htaccess-Files



Intention of Animation 5.4-1 is to help you understand how .htaccess files can be used to restrict access to certain directories.

The applet is subdivided into three windows:

  • The main window contains the directory structure,

  • the legend is displayed in the upper right part and

  • the third window contains the content of a certain .htaccess file.

To create a .htaccess file proceed as follows:

  • Select the directory you want to protect,

  • press the buttons "create" and "edit" to generate the required .htaccess file.

  • Finally, select the users who should have access to the directory and press the button "close edit".

The main window is now updated, indication which user has access to which directories.

Animation 5.4-1: HT Access