Where can we put custom html files

Where can we put custom html files

Question

We have some HTML files that we want to see for components and links in the portal, where should we put them?


Solution

There are 3 options available:
  1. Make a folder in the stoneware/webserv directory.
    For example : companyfiles
    Then put your files in there.
    The URL to the files would be /companyfiles/somefile.html
    Create a Standard Link that points to the file's URL

  2. Make a directory in /stoneware/webserv-sec directory.
    For example : companyfiles
    Then put your files in there.
    The URL to the files would be /secure/companyfiles/somefile.html
    Create a Standard Link that points to the file's URL

  3. Make a folder in /stoneware/webserv-sec/YourCompanyProfile.
    YourCompanyProfile is the directory where your company profile is stored.
    Then put your files in there.
    The URL to the files would be/profile/companyfiles/somefile.html
    Create a Standard Link that points to the file's URL

    The unique thing about this method is that if you have multiple profiles for different groups of users, using /profile/companyfiles/somefile.html will change to each users own profile automatically.

  • Option 1 does not offer any security for the files. /webserv requires no authentication to read the files unless you write it in a .jsp and check for authentication.
  • Option 2 requires that you are authenticated to the portal
  • Option 3 requires that you are authenticated to the portal and the files are in the profile you are assigned to.