Securing a Page, Directory, or Entire Website

From Wiki openElement
Jump to: navigation, search

This feature allows users to restrict access to a page, directory, or the entire website to users of their choosing.

Security Level: High - This method uses the properties of the web host by modifying the .htaccess file and encrypting password by MD5.


Contents

Before You Start

In order to secure part (or all) of the website, the publishing settings must be configured. If publishing settings haven't been entered, these options will not be available.

Note: If you are not using one of openElement's hosting partners, please make sure the web server is running Linux/Apache.


Enable/Disable Security

Two Solutions:

From the Site Explorer

Right click on the project, a directory, or a web page, then click on "Secure the Page
De la même façon, pour désactiver la sécurité, faire un clic droit sur un élément de l'explorateur, puis sur "Supprimer la sécurité"
Securite2.png


Important: Securing a page, folder, or website only takes effect when it is published

From a Page

From the Main Menu, under the Page tab, click on "Secure"
In the same way, to remove page security, click on "Unsecure"
Securite1.png

From the HTACCESS

The HTACCESS is accessible from the Main Menu, under the Project tab. It contains (among other things) the list of all secured items on the website. It is possible to modify or remove secured items, but not to add one.

Configuration

Securite3.png

Limiting Access by Username

Only users entered in the configuration will be able to access the protected sections of the website. Usernames and passwords will have to be personally communicated to the respective users.

Securite8.png


Choosing the List

Note: It is impossible to recover the password of a user that has already been created.
Securite4.png
(1) Create a new user list
(2) Use an existing user list

Creating a List

Securite5.png
(1) Add a new user
(2) Delete the selected user.
(3) Edit the selected user.
(4) User list

Naming the List

Securite6.png
Name the user list such that it can be reused to secure other pages.


Limiting Access by IP

An IP address is the address associated (either permanently or temporarily) to every device connecting to the internet (PCs/Smartphones/Tablets...).
This securing method allows you to limit access to the website to (for example) only people from one office or household, without them having to enter a password.
Note: In order to use this feature, you must have a static IP address, which is not the case with most internet providers.


To obtain the public IP address of a device:

  • Search for "My IP" in Google
  • Your IP should be on top of the results, but can also be viewed using one of the top results (i.e. whatismyip.com)
  • The IP takes the form of xxx.xxx.xxx.xxx, with the each x being a digit.


Securite7.png
(1): Add an IP address
(2): Delete the selected IP address from the list
(3): Edit the selected IP
(4): List of already-added IP addresses added

Personal tools
Namespaces

Variants
Views
Actions
openElement
Community
Toolbox