Hi,
I am trying to write my own weblog using perl/cgi on an appache webserver (on a unix server). I do not have control over the server. I only have control over my own part of it.
The server uses cgiwrap.
I am at the stage where I am still thinking of how to do it.
One of the parts wich is not really clear to me is how I should make sure that I and only I can update the weblog. The updating of weblog on the server is not really a problem. I am already able to run a script that makes/deletes and changes files. THe problem is that anyone who has access to that script can change it.
I thought about something like the following:
Make the html page (the interface to adding info to the webpage) accessable to everyone and put username password fields on the page. Check this against a password file.
Problem here is: where do I put the password file?.. I read somewhere that putting password related information within the website's folders is a big NO NO.
another problem is: the username password are send in clear text accross teh internet.
Another way is setting access permissions on the folders and files. This means however that those pages are probably not reachable from the internet.
another option is using htaccess files (not sure if that works on the server. Did not try it yet). Again.. it means that I have to put this file somewhere where everyone can reach it.
What would be the best way to approach this?
InDenial
I am trying to write my own weblog using perl/cgi on an appache webserver (on a unix server). I do not have control over the server. I only have control over my own part of it.
The server uses cgiwrap.
I am at the stage where I am still thinking of how to do it.
One of the parts wich is not really clear to me is how I should make sure that I and only I can update the weblog. The updating of weblog on the server is not really a problem. I am already able to run a script that makes/deletes and changes files. THe problem is that anyone who has access to that script can change it.
I thought about something like the following:
Make the html page (the interface to adding info to the webpage) accessable to everyone and put username password fields on the page. Check this against a password file.
Problem here is: where do I put the password file?.. I read somewhere that putting password related information within the website's folders is a big NO NO.
another problem is: the username password are send in clear text accross teh internet.
Another way is setting access permissions on the folders and files. This means however that those pages are probably not reachable from the internet.
another option is using htaccess files (not sure if that works on the server. Did not try it yet). Again.. it means that I have to put this file somewhere where everyone can reach it.
What would be the best way to approach this?
InDenial