Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:57
Direct read of menu_data.js in browser security risk???
Poster: Streetwise
Dated: Wednesday January 12 2005 - 2:48:02 GMT
If I 'view source' to my page, I see that there are some .js files in the root directory. So it I then type my site (mysite.com/menu_data.js) in my browser, I instantly see all of the menu code.
Is that a big security concern? Is there a way to put the .js files in a folder and somehow deny access to that directory?
Thanks!
Dave Anderson
Poster: John
Dated: Sunday January 16 2005 - 23:24:39 GMT
Whay would it be a security concern? It's just a text file that contains menu info that is ultimately seen on your site anyway. Further, any file or graphic that shows the URL in your source can be seen in the same way (unless you locked the directory).