468,536 Members | 1,577 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,536 developers. It's quick & easy.

Can files stored on a web server be easily accessed?

97 64KB
I'm thinking of using the Google Maps Javascript API and they recommend securing the key in files outside the application's source tree, which got my wondering.

If I have files stored in folders on my web server; eg. I have the html (or php) files stored in the public_html folder, and I have some JS files stored in a separate folder, though technically within the public folder, can those JS files be accessed through a web browser?

The example I'm thinking of is when you use the developer tools to access the CSS files of a web app, is it possible to keep info from being seen by public eyes if it's stored in the public folder, even if it's stored in a separate directory, or should these files be stored outside the public directory?
Sep 15 '15 #1
0 4110

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.