How can I protect the form generator from being accessed by someone simply typing in the appropriate url? If I password protect the main phpform directory, the forms don't work. I have tried changing file permissions, but that doesn't seem to prevent anyone from accessing the generator. If someone can access the form generator, they can delete my forms or create unauthorized new ones.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That is the sole reason why the users are advised to move the form to a separate place where they will be using it. It is not good to start using the form right where you generated it, it is OK for testing though ... but once you start using it, you must copy your form files to a separate location on the webserver. Alternatively, if you don't plan to create any more forms, you can just start using the forms from right where they are and just disable write access to the use directory to prevent someone else from coming in and changing your stuff.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-07-07
Do I just move the whole folder containing my form in the use folder to another location? Will the process.php file work in any location? Do I need to move the forms and templates folders as well, or can I keep them in the phpform folder?
Thanks for your quick reply. I appreciate your help and your software.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yes you need to copy the entire directory that contains you form inside the use directory. So if you named your form "myform", then there should be a directory called myform inside the use directory. You must copy the entire myform directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-07-07
I moved my form folder to another location and then password protected the phpform main directory. Everything seems to be working nicely and no one can delete my forms or create new ones. Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can I protect the form generator from being accessed by someone simply typing in the appropriate url? If I password protect the main phpform directory, the forms don't work. I have tried changing file permissions, but that doesn't seem to prevent anyone from accessing the generator. If someone can access the form generator, they can delete my forms or create unauthorized new ones.
That is the sole reason why the users are advised to move the form to a separate place where they will be using it. It is not good to start using the form right where you generated it, it is OK for testing though ... but once you start using it, you must copy your form files to a separate location on the webserver. Alternatively, if you don't plan to create any more forms, you can just start using the forms from right where they are and just disable write access to the use directory to prevent someone else from coming in and changing your stuff.
Do I just move the whole folder containing my form in the use folder to another location? Will the process.php file work in any location? Do I need to move the forms and templates folders as well, or can I keep them in the phpform folder?
Thanks for your quick reply. I appreciate your help and your software.
yes you need to copy the entire directory that contains you form inside the use directory. So if you named your form "myform", then there should be a directory called myform inside the use directory. You must copy the entire myform directory.
I moved my form folder to another location and then password protected the phpform main directory. Everything seems to be working nicely and no one can delete my forms or create new ones. Thanks for your help.
awesome