that is because you're using the form where it was generated! Each form has to be *copied out* to a separate place where it will be used after it is generated. You could set the correct file permissions in the new spot so that everyone is not able to read or write to your forms or form data. To enforce this *copying out* process, I have had the generator overwrite the old forms .. but people still seem to be using the forms right where they were generated.
As for the password protection, individual files can't be password protected but you can htaccess based authentication on an entire directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-07-23
If this is the address where the form processor is located to process the form,
Hello,
Is there a way to password protect certain files in PHPformgen?
Todd
If a visitor was to look at the form and see:
action='http://www.somewebsite.com/cgi-bin/somedirectory/somedirectory2/forms/process.php' method='post'>
They could go back to the forms directory and click on admin and see all of the data. Go back one more directory and they could make a form!
that is because you're using the form where it was generated! Each form has to be *copied out* to a separate place where it will be used after it is generated. You could set the correct file permissions in the new spot so that everyone is not able to read or write to your forms or form data. To enforce this *copying out* process, I have had the generator overwrite the old forms .. but people still seem to be using the forms right where they were generated.
As for the password protection, individual files can't be password protected but you can htaccess based authentication on an entire directory.
If this is the address where the form processor is located to process the form,
action='http://www.somewebsite.com/cgi-bin/somedirectory/somedirectory2/forms/process.php' method='post'>
This location is a COPY of the original directory where the form was generated, including all of these directories and their contents:
phpform
.forms
..admin
..files
what would I set my CHMOD setting to for each directory and its contents?