Hey,I have been using the drupal as a content management system . I have customized the drupal by adding the java script into it. I am afraid my code can be viewed by outsiders! Is there any way by which we can hide the java script. Please help me!
Hey,I have been using the drupal as a content management system . I have customized the drupal by adding the java script into it. I am afraid my code can be viewed by outsiders! Is there any way by which we can hide the java script. Please help me!
Use the following steps to ensure your java files are not visible to the users:
- Log into the server with FTP client.
- Now go to the root directory of web server and create new folder. Give the proper name to it.
- Now go to the drupal folder.
- Copy all the java script files and paste it into the new folder you just created.
- Now delete the java script files from drupal folder.
- By doing this your script is safe.
Bookmarks