Which files are necassary in '_lib'

As part of trouble shooting some issues I have with ‘Select2’ I looked into my production environment and found a number of files that I believe cause a security risk.

I use an advanced deployment to deploy my files via ssh.
When I looked in the _lib folder I found a number of files that are not used by my application, including a directory titled ‘Samples’ which included sample versions of login0x.html, and a number of files under ‘menus’.

None of these are necassary to my application, but if you know the path you can access them via the web. This creates a security risk.

I would remove the various sub directories under _lib, but I am unsure which files are needed, and which are not. I can see that the helpcase files are in this directory as well

  1. What files are necessary to the production environment, and what files can be deleted?
  2. Where are the connection files held?

I cannot find a tutorial that explains how to upload and update the production environment, and then what files can/should be removed after?

Regards
Craig

How the Scriptcase folders work | Scriptcase Blog - Development, Web Design, Sales and Digital Marketing

May be this helps.

1 Like

Thankyou, yes that helps a lot.

Some of the things I found in there were my fault because I had project inclusions that i didn’t need, and they were being copied to the production environment.

regards
Craig