(EN) WEB SPACES: How can I protect a web page with a password?

Getting a web page to have private or protected access. 

It is possible to protect some or all of the pages of your WWW space if you consider that their access should not be public.

Currently, the server supports two types of page protection:

  1. WWW pages of restricted access to all (or part) of the users of the university.
  2. WWW pages protected by a password.


1.- PAGES WWW ACCESS RESTRICTED TO CERTAIN USERS

This service allows you to protect a web space so that your pages are only accessible by people who have an account at the university. It is possible to specify which users among all those in the university can access. You can define several spaces, each accessible to your own group of users.

Procedures for the configuration of the service:

      1. It is assumed that the user owns a WWW space on the university server and wants to leave on that server a set of pages that he wishes to protect. 

      2. The user creates a directory whose name starts with "private" (eg: " private ", " private1", " privadomio ", ...) ( in lowercase letters) in the FIRST LEVEL (not in a subdirectory) of its web space in the web server of the university (the server "www", this does NOT apply to the server "mural"). You can create as many directories as you deem appropriate. The URL of these directories will be of the style: http://www.uv.es/=usuario/privado , http://www.uv.es/=usuario/privado0 , etc ... 

      3. Automatically , all the pages included by the user in these directories will no longer be publicly accessible, being required to visualize them providing a valid username / password pair in the university's mail servers (post or post). 

      4. To further restrict access and only allow certain users (eg: upepe, juanjp, decals), the creator of the page must include within the " private ..." directory a file called " .htaccess" ( such as: lowercase name, starting with a dot and WITHOUT suffixes ) containing lines such as the following ( ASCII text, user name in lowercase ):


require user upepe juanjp 
require user decal

if the .htaccess file exists, only the users indicated in this way will have access to the page. The .htaccessfile may be different for each of the "private ..." directories that you have.

Note: In MS-Windows, the best way to create a ".htaccess" file is to use the "notepad" program, making sure not to put the extension ".txt" when saving the file. 

Password changes

The valid password to access the protected pages is the password that the authorized user has at all times, unless it has been changed on the same day, in which case, the new password goes into effect the next day for access to protected pages , having to use the old one until then.


2.- WWW PAGES PROTECTED BY A PASSWORD

This service allows you to protect a web space so that your pages are only visible to people who know a certain name / password pair.

Conditions of service: 

Any user of the official WWW server of the university can request that a "subpage" (subdirectory or subfolder) of their WWW space on the server be protected by name / password. A full WWW space can be protected, although it is not recommended.

In order for a user to request the protection of a subspace, it must be within the user's personal page or within a group page for which the user is primarily responsible.

Note: In this service, only one user / password pair per protected area is provided; that is, all the users of the space share name / password.

Necessary information

  1. URL of the web space to be protected ( http://www.uv.es/~ ...). Alternatively, username and subdirectory name in that user's WWW space.
  2. Short description (200 characters maximum) of the space to be protected and a title (30 characters maximum) for the same.
  3. "Name" suggested (lowercase letters or numbers, maximum 8 characters).

Process

Password change or cancellation of protection

SERVEI D'INFORMÀTICA - UNIVERSITAT DE VALÈNCIA