PDA

View Full Version : Change modifications ( Chmod )


whl626
6-19-04, 02:04 AM
I always hear about changing modifications for important files like .htaccess or .htpasswd. But somehow HOW ? While I right click the file with my ftp program, there is no way I can change the modifications.

Please give advice :)

B&T
6-19-04, 02:20 AM
You can do it through powweb's webftp. Or if you ftp to your site using either windows explorer or internet explorer you can right click the file and choose properties.

whl626
6-19-04, 02:27 AM
While I right click the file in window explorer, at the bottom of properties, there are attributes read-only, achive, hidden boxes for me to check mark. Is that the one you mean ?

whl626
6-19-04, 02:43 AM
I seemed to find the Chmod at the Powweb webftp. What is the best mod needed ?

(jj)
6-19-04, 05:17 AM
That depends on what you are setting permissions on. For most "normal" web pages, the default is 644 while many cgi scripts need to be set to 755.

Never leave any file Chmod to 777 or 666 as this could allow others to gain access and is a big security risk.

whl626
6-19-04, 08:45 AM
Since the default is 644, I think I suppose to leave it as it is for .htaccess and .htpasswd. Right !

(jj)
6-19-04, 04:27 PM
Yup, you got it right :)