Results 1 to 3 of 3

Thread: Website File Structures

  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    360
    Thanks
    25
    Thanked 84 Times in 62 Posts
    Rep Power
    159
    Reputation
    1304

    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
    49
    Posts
    3,558
    Thanks
    168
    Thanked 1,084 Times in 645 Posts
    Rep Power
    488
    Reputation
    12518

    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
    6
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Reputation
    30

    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
    •