What should I do to be authenticated for access to my METU user account web page?
For such a procedure, it will suffice to create an .htaccess file under the directory related to your account. You may access detailed information on creating an HTACCESS file from the following.
1) Using a file including user code information for authorizing web pages:
If an ".htaccess" file is created to invoke the information of authorized usercodes existing in another file, full path address including corresponding home directory of that file must be specified. (You can use "pwd" command in order to learn your home directory).
It is a security requirement that the password file should not be located in "wwwhome" directory.
The address of the file including the information of usercodes (in this example, "passwd" file in "/home_directory/user/abc/"directory) must be specified as;
require user usercode
in ".htaccess" file.
You can use "htpasswd" command to create the file containing the user and corresponding password information. The detailed information about htpasswd command is available in the following address:
2) Using the passwords defined on central servers for authorizing specific usercodes:
If the passwords defined on central servers will be used for authorizing specific usercodes, ".htaccess" file should be created as below:
require user usercode1
require user usercode2
require user usercode3
NOTE: Any number of usercodes defined on central servers can be added as in "require user usercode#" rows.
3) Using the passwords defined on central servers for authorizing specific usercode categories:
If the passwords defined on central servers will be used for authorizing specific usercode categories (e.g., research assistants(minor category) in ABC department (major category)), ".htaccess" file should be created as below:
In order to see the major and minor definitions of usercodes, "id usercode" command can be used. This command can be used while being connected to central servers.
As the command "id abcde " is used to learn the major and minor categories of usercode "abcde ", assume that following output has been displayed:
This information reveals that, "abcde " usercode belongs to a "research assistant" working in a department/unit having the ECS (Electronic Communication System) usercode of "asd".
Some of the minor categories are listed below:
Major categories of departments/units can be learned from the page "Electronic Communication System Usercodes List" including the information of usercodes defined for departments/units.
To have detailed information about authorizing usercode categories using LDAP application, please visit the page General Information about LDAP".