Topic awaiting preservation: Perl page editing (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-16-2005 23:21
I'm planning to set up a remote editing system on my site. At school, I can only get at it by html, so I wrote a perl script to allow me to edit the page. However, despite the fact that all the pages are owned by the same person who owns the cgi script, opening it in order to open it doesn't work. I need to allow write access to "other" (eg. chown 666 *file*). However, to do this to my entire server seems a little insecure, but I don't really have any other choice due to the lameness of my school... any ideas? |
Paranoid (IV) Inmate From: USA |
posted 04-16-2005 23:27
Can you set it up to use a database that you can modify, and then have the pages dynamically generated from the database? |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-16-2005 23:30
Uh, in theory I suppose I could...I suppose it amounts to laziness and lack of expertise, but I really don't think I'd be able to do that in a reasonable time frame (I go back to school on monday :\). I'll have a look at it, but it just seems like I mst be doing something silly here, and there ought to be a better way round it |
Paranoid (IV) Inmate From: USA |
posted 04-16-2005 23:48
A database might be a good way to go, and hey, if you want a job for the web, the sooner you learn them, the more experience you'll have... |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-16-2005 23:52
Heh, I'm not planning on being a web developer - I do this for fun . My so-called "skills" lie elsewhere....so for me it's just a way of getting it done. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-16-2005 23:56
I'm a little confused, why do you have to chown the whole folder? |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-17-2005 00:01
Woops, that shoulda been "chmod 666 *file*" |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-17-2005 00:05
ah I wouldn't really worry about it personally |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-17-2005 00:09
just set the whole damn lot to "666"? |
Paranoid (IV) Inmate From: USA |
posted 04-17-2005 06:15
Again, why 666? Why not 644? o.O |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-17-2005 14:47
IW: eek, sorry thanks. One of these days I should sleep for the entire day to make up for my.... 'interesting' sleep patterns recently. Just, I was talking to a friend, who said that there were http delete and upload functions... ?! That could be bad if I need to give write access to "Other". Well, let's see what happens... |