seting directory to a special permission

Discussion in 'PHP' started by ultimatecoder, Dec 15, 2008.

  1. #1
    i am not using my-sql for my database...rater hosting it in file systems...:)
    i want to assign a special permission to that directory that the contents of the directory can be retrived from the server and used for login/register but if the user wants he should not see our database...plz help me regarding this...:confused:
     
    ultimatecoder, Dec 15, 2008 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    can you elaborate more.. are you talking about altering permissions of a file in the server?
     
    bartolay13, Dec 15, 2008 IP
  3. ultimatecoder

    ultimatecoder Peon

    Messages:
    168
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hmmmm..........not that u think...i am trying to set a special permission on my server so that other users cannot see the username and password on my server.....but my php server can execute it...my passwords and usernames are stored in db directory...on my server
     
    ultimatecoder, Dec 15, 2008 IP
  4. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #4
    ahh... a simple server-database connection..

    actually users cannot see records in the database (much more if encrypted), unless you write a query for them..
    it cant be seen on the client side.
     
    bartolay13, Dec 15, 2008 IP
  5. ultimatecoder

    ultimatecoder Peon

    Messages:
    168
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    but my database is of text files...it is not of MY-SQL
     
    ultimatecoder, Dec 16, 2008 IP
  6. ultimatecoder

    ultimatecoder Peon

    Messages:
    168
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    :confused:
     
    ultimatecoder, Dec 17, 2008 IP