list
logo
Please be aware that there is newer version of documentation available for Webswing. Documentation 26.2

Restricted Resources

In some cases you want to host static pages alongside with your Desktop Application in Webswing and leveraging the Webswing security integration. Most common example is documentation. With Restricted Resources feature you can share the same security setup to keep your documentation protected.

  1. Copy the files you want to serve securely, for example to /webswing-examples-eval-26.1/apps/WebswingDemo/webroot/docs in the unpacked examples distribution.
  2. In Webswing Admin console create a new app called help.
  3. Set the Web Folder to ${webswing.rootDir}/apps/WebswingDemo/webroot.
  4. Set the Restricted Resources to "/docs"
  5. Now the help will be accessible only to authenticated users. Secured pages should be therefore referenced only from a Webswing served Desktop Application.