PDA

View Full Version : Two questions. 1 over UCJ and 1 over Chmod777


justsexxx
07-29-2002, 04:43 PM
Hi,

TWo questions

1. does it matter if you use
http://www.domain.com/cgi-bin/ucj/c.cgi?url=http://www.gallerie.com/&link=maturehardcore&p=65

or cgi-bin/ucj/c.cgi?url=http://www.gallerie.com/&link=maturehardcore&p=65

second question.

I need to chmod one dir to 777, my host told me that's not very safe. But what if I chmod it to 777? I mean what is unsafe, what can ppl do with those files etc

Thnx

Andre

foxxx
07-29-2002, 05:12 PM
it means anyone can execute the files in that directory.

http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?chmod

unsure about your other question.

AgentCash
07-29-2002, 05:25 PM
Relative links (the shorter one) should be fine.

If you chmod a directory to 777 it gives full access (read, write & execute) to everyone. That doesn't nessecarily mean people will turn it into a warez drop, but you should keep an eye on it and be careful what you put in there. I wouldn't chmod any scripts 777 but text files, images and such, should be fine.

STEVEN
07-29-2002, 06:48 PM
doing your skim links like this
"/cgi-bin/ucj/c.cgi?url=http://www.gallerie.com/&link=maturehardcore&p=65"

will just cut down on the file size of your HTML/SHTML page.
Works fine, I've been doing it like this for a long time

DOX
07-29-2002, 08:51 PM
I use it like this

"/cgi-bin/ucj/c.cgi?url=http://www.gallerie.com/......&p=65&link=maturehardcore"

justsexxx
07-30-2002, 04:36 AM
Okat that's clear over the UCJ links :-)

But now the chmod 777

If I have a dir cmhod 777 in that dir are 3 html pages. Also chmod 777. WHat exacly can happen to me?

I mean can they change the content etc?

Andre

AgentCash
07-30-2002, 04:46 AM
It's unlikely anyone will be able to change the content, but like I said, you don't want any scripts in there chmoded to 777, in case some is able to modify it, as they will be able to alter the script and use it to do bad things.

justsexxx
07-30-2002, 04:55 AM
Originally posted by AgentCash
It's unlikely anyone will be able to change the content, but like I said, you don't want any scripts in there chmoded to 777, in case some is able to modify it, as they will be able to alter the script and use it to do bad things.

Well I had to chmod 777 my root, but I think I do it this way

Chmod a dir called anameyoudontguess insert the html files in that.

And then make an index.shtml with the include tag in it. That inlcude tag inserts that dir/index.html

SO noone see the actually dir

Andre