Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default cron file only accessible by the server

    I was woundering, whats the best way of making a cron file only accessible by the server?

    I know you could add a .htaccess file etc.., but is there any other ways?

  2. #2
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Set it so owner and group can only read, write and exec it.... (Permissions in FTP). If you need the SSH way of chmoding it then ask.


    www.fragme.co = a project.

  3. #3
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by GasFMatt View Post
    Set it so owner and group can only read, write and exec it.... (Permissions in FTP). If you need the SSH way of chmoding it then ask.
    Oh yea, cmod it

    Good idea

  4. #4
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Put it outside of the public_html directory and then put the cron command as php bla.php

    I can't remember the options to use.

  5. #5
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Put it outside of the public_html directory and then put the cron command as php bla.php

    I can't remember the options to use.
    OR..
    I can't remember if cgi-bin's files are forbidden to view, maybe try placing in there, and rename the folder to CRON or something.

  6. #6
    Join Date
    Jun 2005
    Posts
    2,688
    Tokens
    0

    Latest Awards:

    Default

    If you wish to place it in a public directory place "deny from all" in the htaccess.

Posting Permissions

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