Keeping source files in style library.
-
All we know, we can build OOTB content editor web parts using client side scripts in SharePoint 2010 on wards. To perform this, we keep source files either in Style Library or Layouts folder. How safe is this? This can be downloaded by a hacker right (in case of internet SP sites)? Is any other options available in SharePoint to prevent this other than permission settings? Kindly advice. Sabari MD Application Developer - SharePoint
-
All we know, we can build OOTB content editor web parts using client side scripts in SharePoint 2010 on wards. To perform this, we keep source files either in Style Library or Layouts folder. How safe is this? This can be downloaded by a hacker right (in case of internet SP sites)? Is any other options available in SharePoint to prevent this other than permission settings? Kindly advice. Sabari MD Application Developer - SharePoint
It’s as safe as storing them on any other location where your users have access to. If you don’t permit your users to have access to these files, they won’t be able to use them. Of course, general users should have read only access to these locations. While the appropriate people (admins / etc) have write access. If theses file contain sensitive information, I would recommend removing it and finding a more suitable place to store the sensitive information, rather than a client side script file.
-
It’s as safe as storing them on any other location where your users have access to. If you don’t permit your users to have access to these files, they won’t be able to use them. Of course, general users should have read only access to these locations. While the appropriate people (admins / etc) have write access. If theses file contain sensitive information, I would recommend removing it and finding a more suitable place to store the sensitive information, rather than a client side script file.