Results 1 to 5 of 5
Feb 25, 2012, 07:37 #1
- Join Date
- Oct 2010
- 0 Post(s)
- 0 Thread(s)
Protecting my includes directory with htaccess. Any potential problems doing this?
I am developing a backend for my site and I have put all of my forms for doing sql queries in includes/forms
My index & edit pages e.t.c. require login using the following code:
So far, its doing exactly what I want, the forms include in my pages & everything works and if I use my browser to navigate to the includes/forms directory or any of the files inside it, I get a forbidden message. Great!
Is this a common way to protect such files, or might this lead to any problems that I haven't thought of?