Results 1 to 3 of 3

Thread: Website File Structures

  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    382
    Thanks
    25
    Thanked 94 Times in 69 Posts
    Rep Power
    184
    Reputation
    1504

    Default Website File Structures

    Hey All,

    So, I am shortly rolling out a web based monitoring and notification system that uses a sqlite database for login information, data storage, contact details and accounting information; and a function script that accesses my asterisk server for callout procedures etc.

    What I am thinking is to put the function file and database file in a directory not accessible to to the public as added security? Or what is the normal practice for such files?

    Cheers
    Gitch



Look Here ->
  • #2
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    51
    Posts
    3,786
    Thanks
    183
    Thanked 1,237 Times in 741 Posts
    Rep Power
    579
    Reputation
    15578

    Default

    i suppose any folder in public-html as long as the permissions are read only or low as possible
    you could also password protect the folder?
    why do we need the NBN ? because the copper network is constipated & needs fibre

  • The Following User Says Thank You to Philquad For This Useful Post:

    Gitch (24-09-17)

  • #3
    Junior Member
    Join Date
    Sep 2017
    Posts
    35
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Rep Power
    26
    Reputation
    90

    Default

    Quote Originally Posted by Gitch View Post
    Hey All,

    So, I am shortly rolling out a web based monitoring and notification system that uses a sqlite database for login information, data storage, contact details and accounting information; and a function script that accesses my asterisk server for callout procedures etc.

    What I am thinking is to put the function file and database file in a directory not accessible to to the public as added security? Or what is the normal practice for such files?

    Cheers
    Gitch
    Yea Basically anything thats not in the public_html is not directly accessible to users , but can be called upon by your files in public_html. Password protect, also go through your permissions , read write and execute you will see a number next to the files saying 665 or 777 ect. Left click the folder and change permissions and set access as low as possible.

    Ht access is also another way you could divert or disalow your declared type user string , ip or even browser from a specific file.

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •