Hi,
Can anyone give me a small suggestion.
How can I make a web directory secure?
say I have a site name
http://johny.ensiigen.com who's root is
/home/johny.ensiigen. com/public_html
there is a directory, say secure, in the public_html. i.e. any one can brows
http://johny.ensiigen.com/secure/
What I want is, if anyone try to access to http://johny.ensiigen.com/secure/ he will redirected to somewhere else for log in purpose, for more precious example if anyone try to access http://johny.ensiigen.com/secure/new.jpg, that page will verify user from "database" (.htaccess is not an option) and decide to permit the access or not. I have seen such thing but failed to figure out how to do. Is there anything to do with apache server or cgi or php. Please let me know.
I will be greatfull :)
Best Regards,
Johny
Can anyone give me a small suggestion.
How can I make a web directory secure?
say I have a site name
http://johny.ensiigen.com who's root is
/home/johny.ensiigen. com/public_html
there is a directory, say secure, in the public_html. i.e. any one can brows
http://johny.ensiigen.com/secure/
What I want is, if anyone try to access to http://johny.ensiigen.com/secure/ he will redirected to somewhere else for log in purpose, for more precious example if anyone try to access http://johny.ensiigen.com/secure/new.jpg, that page will verify user from "database" (.htaccess is not an option) and decide to permit the access or not. I have seen such thing but failed to figure out how to do. Is there anything to do with apache server or cgi or php. Please let me know.
I will be greatfull :)
Best Regards,
Johny
Comment