Hello,
I recently signed up with a free hosting provider(apache, mysql, php). When I login through ftp, I go to my root directory which is web accessible. So where do I hide the files that I don't want to be accessed through the web? Such as database connection files, user uploaded files, etc. Are all hosting services the same? Or do some of them give access to directories that are not web accessible? This first I am trying put an actual website up so I would appreciate any help. Thanks.
ryy705
0
Junior Poster
Recommended Answers
Jump to Postthere is usually a folder outside of the web directory called private, if you dont have that then use this link to learn .htaccess http://www.javascriptkit.com/howto/htaccess.shtml
it will help you because you can stick …
Jump to Postthe password file is just if you want to access the protected directory manually (through typing the address to it) at any time, if you dont want to access the protected directory in that manner then you don't need to worry and yes it is enough if you do
All 8 Replies
Auzzie
6
Junior Poster
ryy705
0
Junior Poster
ryy705
0
Junior Poster
Auzzie
6
Junior Poster
silviuks
0
Junior Poster in Training
Auzzie
6
Junior Poster
ryy705
0
Junior Poster
Auzzie
6
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.