san3auni Publish time 2012-03-17 05:48

which files are need permissions 777 !!

which files are need permissions777
and what i should do to make discuz save from hacking !

thanks in advance





vot Publish time 2012-03-17 10:21

In most of cases it is not required to enable "All for All" (=777).
In a real case it is require to enable WRITE permissions for the web-server-owned user ( i.e. "apache" or "www" ).

The idea is simple:
Enable write/create permissions for all the data folders (including it's subfolders),
and enable write permissions for all the files inside that folders.

Go to your AdminCP and choose Tools -> File permissions.
X2 will say what the items it want to be writable.

san3auni Publish time 2012-03-17 10:26

what about attachment file !?

is there any file i should use htaccess for it

vot Publish time 2012-03-17 15:45

htacces is used ONLY if you enable static URLs in your AdminCP.
Otherwise it is not required.

in X2 only "data" & "articles" folders must be writable.

san3auni Publish time 2012-03-18 13:16

so do you have any security tips !?
to be save from hacking

vot Publish time 2012-03-19 20:08

X2 already has built-in anti-hacking methods...
Pages: [1]
View full version: which files are need permissions 777 !!