Securing Web Pages and Forms With SSL

Web pages or forms that contain or request restricted confidential information, e.g. WIN or employee ID numbers, must be encrypted. This is done by using SSL.

  1. Create a folder titled secure and move the forms you wish to be encrypted into it.
  2. Within your secure folder, create a file titled x.htaccess which contains:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [redirect,last]
  3. Upload the x.htaccess file to the server. All forms located within that folder will now be redirected to https, the secure server, when they are opened by a browser.