Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

brianjay2000
Starting Member

USA
31 Posts

Posted - 12/21/2019 :  13:08:55  
I was just informed that all of my .php files are set for 755 where they should be set at 644.

1) Would resetting the permissions upset the web site program?

2) can I remove the file createdb.php because with it being in the root folder, someone can destroy my current database

Thank you,
Brian

Brian Elefant

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 12/21/2019 :  18:11:49  
Hi Brian

Definitely delete the createdb file.


I posted a reply to your post on 21st Oct 2019 - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=112144

FYI the following may give you an insight. The permissions are r = read, w = write, x = execute. The below are the most common settings.

The setting -rw------- whose numerical value is 600 means that only the owner has read and write permissions

The setting -rw-r--r-- whose numerical value is 644 means that only the owner has read and write permissions; the group and others have read only

The setting -rwx------ whose numerical value is 700 means that only the owner has read, write, and execute permissions

The setting -rwxr-xr-x whose numerical value is 755 means that only the owner has read, write, and execute permissions; the group and others have only read and execute

The setting -rwx--x--x whose numerical value is 711 means that only owner has read, write, and execute permissions; the group and others have only execute

The setting -rw-rw-rw- whose numerical value is 666 means that veryone can read and write to the file. Be careful with these permissions.
The setting -rwxrwxrwx whose numerical value is 777 means that everyone can read, write, and execute. Again, this permissions setting can be hazardous.

Steve
Manchester, UK

Using ECT since 2004

Edited by - 1818charlie on 12/21/2019 18:16:43

insight
ECT Moderator

USA
4479 Posts

Posted - 12/24/2019 :  03:08:38  
Typically you want 755 for all directories and 644 for all files. And yes, ditch createdb.php.

Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000