Direct read of menu_data.js in browser security risk???

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Streetwise
Advanced
Advanced
Posts: 15
Joined: Mon Jan 10, 2005 1:14 pm

Direct read of menu_data.js in browser security risk???

Post by Streetwise »

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
Streetwise
Advanced
Advanced
Posts: 15
Joined: Mon Jan 10, 2005 1:14 pm

Post by Streetwise »

<bump> :lol:
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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).
John
Post Reply